Skip to content

Commit 329e5dc

Browse files
committed
dm-mono: init at 0.0
1 parent 64a76d7 commit 329e5dc

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
lib,
3+
stdenvNoCC,
4+
fetchFromGitHub,
5+
}:
6+
7+
stdenvNoCC.mkDerivation rec {
8+
pname = "dm-mono";
9+
version = "0.0";
10+
11+
src = fetchFromGitHub {
12+
owner = "googlefonts";
13+
repo = "dm-mono";
14+
rev = "57fadabfb200a77de2812540026c249dc3013077";
15+
hash = "sha256-Xj6UmvH7tqW6xdobBxuafqc7TB1nrTFwHWv4DaZmwx8=";
16+
};
17+
18+
installPhase = ''
19+
runHook preInstall
20+
21+
install -m644 --target $out/share/fonts/truetype -D exports/*.ttf
22+
23+
runHook postInstall
24+
'';
25+
26+
meta = {
27+
description = "Monospace typeface";
28+
homepage = "https://github.com/googlefonts/dm-mono";
29+
license = lib.licenses.ofl;
30+
maintainers = with lib.maintainers; [ jennifgcrl ];
31+
};
32+
}

0 commit comments

Comments
 (0)