2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip, p7zip }:
|
2015-10-18 20:06:04 +01:00
|
|
|
|
2017-08-11 04:57:52 +01:00
|
|
|
let
|
2015-10-18 20:06:04 +01:00
|
|
|
version = "1.2";
|
2017-08-11 04:57:52 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "marathi-cursive-${version}";
|
2015-10-18 20:06:04 +01:00
|
|
|
|
2017-08-11 04:57:52 +01:00
|
|
|
url = "https://github.com/MihailJP/MarathiCursive/releases/download/${version}/MarathiCursive-${version}.7z";
|
2015-10-18 20:06:04 +01:00
|
|
|
|
2017-08-11 04:57:52 +01:00
|
|
|
postFetch = ''
|
|
|
|
${p7zip}/bin/7z x $downloadedFile
|
|
|
|
cd MarathiCursive
|
2015-10-18 20:06:04 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf
|
|
|
|
install -m444 -Dt $out/share/doc/${name} README *.txt
|
2015-10-18 20:06:04 +01:00
|
|
|
'';
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
sha256 = "0wq4w79x8r5w6ikm9amcmapf0jcdgifs9zf1pbnw3fk4ncz5s551";
|
2017-08-11 04:57:52 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/MihailJP/MarathiCursive";
|
2015-10-18 20:06:04 +01:00
|
|
|
description = "Modi script font with Graphite and OpenType support";
|
|
|
|
maintainers = with maintainers; [ mathnerd314 ];
|
|
|
|
license = licenses.mit; # It's the M+ license, M+ is MIT(-ish)
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|