We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a76d7 commit 329e5dcCopy full SHA for 329e5dc
pkgs/by-name/dm/dm-mono/package.nix
@@ -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