Skip to content

Commit fada727

Browse files
authored
unifont-csur: init at v16.0.02 (#381477)
2 parents 451b0d3 + 6b2689b commit fada727

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
lib,
3+
stdenvNoCC,
4+
fetchurl,
5+
}:
6+
7+
stdenvNoCC.mkDerivation (finalAttrs: {
8+
pname = "unifont-csur";
9+
version = "16.0.02";
10+
11+
src = fetchurl {
12+
url = "https://unifoundry.com/pub/unifont/unifont-${finalAttrs.version}/font-builds/unifont_csur-${finalAttrs.version}.otf";
13+
hash = "sha256-orLV0a0dQUAnzWnSTD1ALfbAsqWtFscH3rMCDyaXNfo=";
14+
};
15+
16+
dontUnpack = true;
17+
18+
installPhase = ''
19+
runHook preInstall
20+
install -Dm644 $src $out/share/fonts/truetype/unifont_csur.ttf
21+
runHook postInstall
22+
'';
23+
24+
meta = {
25+
description = "Unifont CSUR - Private Use Area font covering ConScript Unicode Registry";
26+
homepage = "https://unifoundry.com/unifont/";
27+
license = lib.licenses.gpl2Plus;
28+
platforms = lib.platforms.all;
29+
maintainers = [ lib.maintainers.qxrein ];
30+
};
31+
})

0 commit comments

Comments
 (0)