marathi-cursive: 1.2 -> 2.0
This commit is contained in:
parent
82263944a7
commit
49436a7613
|
@ -1,21 +1,19 @@
|
|||
{ lib, fetchzip, p7zip }:
|
||||
{ lib, fetchzip }:
|
||||
|
||||
let
|
||||
version = "1.2";
|
||||
version = "2.0";
|
||||
in fetchzip rec {
|
||||
name = "marathi-cursive-${version}";
|
||||
|
||||
url = "https://github.com/MihailJP/MarathiCursive/releases/download/${version}/MarathiCursive-${version}.7z";
|
||||
url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz";
|
||||
|
||||
postFetch = ''
|
||||
${p7zip}/bin/7z x $downloadedFile
|
||||
cd MarathiCursive
|
||||
|
||||
tar -xJf $downloadedFile --strip-components=1
|
||||
install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf
|
||||
install -m444 -Dt $out/share/doc/${name} README *.txt
|
||||
install -m444 -Dt $out/share/doc/${name} README *.txt
|
||||
'';
|
||||
|
||||
sha256 = "0wq4w79x8r5w6ikm9amcmapf0jcdgifs9zf1pbnw3fk4ncz5s551";
|
||||
sha256 = "17pj60ajnjghxhxka8a046mz6vfwr79wnby7xd6pg5hgncin2hgg";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/MihailJP/MarathiCursive";
|
||||
|
|
Loading…
Reference in New Issue