tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
drafting-mono: init at 1.1-unstable-2024-06-04
Gavin Kondrath
4 months ago
978649ea
91883328
+33
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
dr
drafting-mono
package.nix
+33
pkgs/by-name/dr/drafting-mono/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenvNoCC,
4
4
+
fetchFromGitHub,
5
5
+
}:
6
6
+
stdenvNoCC.mkDerivation {
7
7
+
pname = "drafting-mono";
8
8
+
version = "1.1-unstable-2024-06-04";
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "indestructible-type";
12
12
+
repo = "Drafting";
13
13
+
rev = "c387df13576c3b541352725b021f9f99302e52d6";
14
14
+
hash = "sha256-J64mmDOzTV4MRuZO3MB2SSX5agCRjLDjXAPXuDfdlOM=";
15
15
+
};
16
16
+
17
17
+
installPhase = ''
18
18
+
runHook preInstall
19
19
+
20
20
+
mkdir -p $out/share/fonts/truetype
21
21
+
cp fonts/*/*.otf $out/share/fonts/truetype
22
22
+
23
23
+
runHook postInstall
24
24
+
'';
25
25
+
26
26
+
meta = {
27
27
+
homepage = "https://indestructibletype.com/Drafting/";
28
28
+
description = "Drafting* Mono a mixed serif typewriter inspired font by indestructible type*";
29
29
+
license = lib.licenses.ofl;
30
30
+
platforms = lib.platforms.all;
31
31
+
maintainers = with lib.maintainers; [ gavink97 ];
32
32
+
};
33
33
+
}