tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
annotation-mono: init at 0.2
Max Guppy
7 months ago
f723d120
93b9cc2e
+33
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
an
annotation-mono
package.nix
+33
pkgs/by-name/an/annotation-mono/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenvNoCC,
4
4
+
fetchzip,
5
5
+
}:
6
6
+
stdenvNoCC.mkDerivation (finalAttrs: {
7
7
+
pname = "annotation-mono";
8
8
+
version = "0.2";
9
9
+
10
10
+
src = fetchzip {
11
11
+
url = "https://github.com/qwerasd205/AnnotationMono/releases/download/v${finalAttrs.version}/AnnotationMono_v${finalAttrs.version}.zip";
12
12
+
hash = "sha256-81BcPYE4C9kuetiCzgGPl59WO4QkBML7dwAkD1DCCZo=";
13
13
+
stripRoot = false;
14
14
+
};
15
15
+
16
16
+
installPhase = ''
17
17
+
runHook preInstall
18
18
+
19
19
+
install -D -m444 -t $out/share/fonts/truetype $src/dist/ttf/*.ttf
20
20
+
install -D -m444 -t $out/share/fonts/truetype $src/dist/variable/AnnotationMono-VF.ttf
21
21
+
install -D -m444 -t $out/share/fonts/opentype $src/dist/otf/*.otf
22
22
+
23
23
+
runHook postInstall
24
24
+
'';
25
25
+
26
26
+
meta = {
27
27
+
homepage = "https://github.com/qwerasd205/AnnotationMono";
28
28
+
description = "Lovingly crafted handwriting-style monospace font";
29
29
+
license = lib.licenses.ofl;
30
30
+
platforms = lib.platforms.all;
31
31
+
maintainers = [ lib.maintainers.theonlymrcat ];
32
32
+
};
33
33
+
})