tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
oldsindshi: 0.1 -> 1.0
Mathnerd314
5 years ago
26cbda79
49436a76
+8
-9
1 changed file
expand all
collapse all
unified
split
pkgs
data
fonts
oldsindhi
default.nix
+8
-9
pkgs/data/fonts/oldsindhi/default.nix
···
1
1
-
{ lib, fetchzip, p7zip }:
1
1
+
{ lib, fetchzip }:
2
2
3
3
let
4
4
-
version = "0.1";
4
4
+
version = "1.0";
5
5
in fetchzip rec {
6
6
name = "oldsindhi-${version}";
7
7
8
8
-
url = "https://github.com/MihailJP/oldsindhi/releases/download/0.1/OldSindhi-0.1.7z";
8
8
+
url = "https://github.com/MihailJP/oldsindhi/releases/download/v${version}/OldSindhi-${version}.tar.xz";
9
9
10
10
postFetch = ''
11
11
-
${p7zip}/bin/7z x $downloadedFile
12
12
-
13
13
-
install -m444 -Dt $out/share/fonts/truetype OldSindhi/*.ttf
14
14
-
install -m444 -Dt $out/share/doc/${name} OldSindhi/README OldSindhi/*.txt
11
11
+
tar -xJf $downloadedFile --strip-components=1
12
12
+
install -m444 -Dt $out/share/fonts/truetype *.ttf
13
13
+
install -m444 -Dt $out/share/doc/${name} README *.txt
15
14
'';
16
15
17
17
-
sha256 = "0d4l9cg2vmh2pvnqsla8mgcwvc7wjxzcabhlli6633h3ifj2yp7b";
16
16
+
sha256 = "03c483vbrwz2fpdfbys42fmik9788zxfmjmc4fgq4s2d0mraa0j1";
18
17
19
18
meta = with lib; {
20
19
homepage = "https://github.com/MihailJP/oldsindhi";
21
20
description = "Free Sindhi Khudabadi font";
22
21
maintainers = with maintainers; [ mathnerd314 ];
23
23
-
license = licenses.bsd2;
22
22
+
license = with licenses; [mit ofl];
24
23
platforms = platforms.all;
25
24
};
26
25
}