@@ -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";