dm-mono: init at 0.0

This commit is contained in:
Jennifer Zhou
2025-05-12 18:31:34 -07:00
parent 64a76d7f9b
commit 329e5dc0eb

View File

@@ -0,0 +1,32 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation rec {
pname = "dm-mono";
version = "0.0";
src = fetchFromGitHub {
owner = "googlefonts";
repo = "dm-mono";
rev = "57fadabfb200a77de2812540026c249dc3013077";
hash = "sha256-Xj6UmvH7tqW6xdobBxuafqc7TB1nrTFwHWv4DaZmwx8=";
};
installPhase = ''
runHook preInstall
install -m644 --target $out/share/fonts/truetype -D exports/*.ttf
runHook postInstall
'';
meta = {
description = "Monospace typeface";
homepage = "https://github.com/googlefonts/dm-mono";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ jennifgcrl ];
};
}