git.iko.soy/typeable/nixpkgs
on master help sign in
marathi-cursive: 1.2 -> 2.0
commit49436a7613b6412111322bc20b5602c10dae9fd3 authorMathnerd314 <mathnerd314.gph+hs@gmail.com> dateFri 15 May 2020, 17:47 (7 years ago) parent8226394
1 file changed+6−8
pkgs/data/fonts/marathi-cursive/default.nix+6−8
pkgs/data/fonts/marathi-cursive/default.nix+6−8
@@ -1,21 +1,19 @@
1−{ lib, fetchzip, p7zip }:
1+{ lib, fetchzip }:
22
33let
4− version = "1.2";
4+ version = "2.0";
55in fetchzip rec {
66 name = "marathi-cursive-${version}";
77
8− url = "https://github.com/MihailJP/MarathiCursive/releases/download/${version}/MarathiCursive-${version}.7z";
8+ url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz";
99
1010 postFetch = ''
11− ${p7zip}/bin/7z x $downloadedFile
12− cd MarathiCursive
13−
11+ tar -xJf $downloadedFile --strip-components=1
1412 install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf
15− install -m444 -Dt $out/share/doc/${name} README *.txt
13+ install -m444 -Dt $out/share/doc/${name} README *.txt
1614 '';
1715
18− sha256 = "0wq4w79x8r5w6ikm9amcmapf0jcdgifs9zf1pbnw3fk4ncz5s551";
16+ sha256 = "17pj60ajnjghxhxka8a046mz6vfwr79wnby7xd6pg5hgncin2hgg";
1917
2018 meta = with lib; {
2119 homepage = "https://github.com/MihailJP/MarathiCursive";