tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ttf-indic: init at 0.2
Akshay Srinivasan
2 years ago
d9f1a08e
bebeb256
+31
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
tt
ttf-indic
package.nix
+31
pkgs/by-name/tt/ttf-indic/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenvNoCC,
4
4
+
fetchurl,
5
5
+
}:
6
6
+
7
7
+
stdenvNoCC.mkDerivation rec {
8
8
+
pname = "ttf-indic";
9
9
+
version = "0.2";
10
10
+
11
11
+
src = fetchurl {
12
12
+
url = "https://www.indlinux.org/downloads/files/indic-otf-${version}.tar.gz";
13
13
+
hash = "sha256-ZFmg1JanAf3eeF7M+yohrXYSUb0zLgNSFldEMzkhXnI=";
14
14
+
};
15
15
+
16
16
+
installPhase = ''
17
17
+
runHook preInstall
18
18
+
19
19
+
install -m444 -Dt $out/share/fonts/truetype OpenType/*.ttf
20
20
+
21
21
+
runHook postInstall
22
22
+
'';
23
23
+
24
24
+
meta = {
25
25
+
homepage = "https://www.indlinux.org/wiki/index.php/Downloads";
26
26
+
description = "Indic Opentype Fonts collection";
27
27
+
license = lib.licenses.gpl2Only;
28
28
+
maintainers = [ lib.maintainers.akssri ];
29
29
+
platforms = lib.platforms.all;
30
30
+
};
31
31
+
}