2020-05-16 01:47:33 +02:00
|
|
|
{ lib, fetchzip }:
|
2015-10-18 21:06:04 +02:00
|
|
|
|
2017-08-11 05:57:52 +02:00
|
|
|
let
|
2020-05-16 01:47:33 +02:00
|
|
|
version = "2.0";
|
2017-08-11 05:57:52 +02:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "marathi-cursive-${version}";
|
2015-10-18 21:06:04 +02:00
|
|
|
|
2020-05-16 01:47:33 +02:00
|
|
|
url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz";
|
2015-10-18 21:06:04 +02:00
|
|
|
|
2017-08-11 05:57:52 +02:00
|
|
|
postFetch = ''
|
2020-05-16 01:47:33 +02:00
|
|
|
tar -xJf $downloadedFile --strip-components=1
|
2019-05-13 03:55:32 +02:00
|
|
|
install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf
|
2020-05-16 01:47:33 +02:00
|
|
|
install -m444 -Dt $out/share/doc/${name} README *.txt
|
2015-10-18 21:06:04 +02:00
|
|
|
'';
|
|
|
|
|
2020-05-16 01:47:33 +02:00
|
|
|
sha256 = "17pj60ajnjghxhxka8a046mz6vfwr79wnby7xd6pg5hgncin2hgg";
|
2017-08-11 05:57:52 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/MihailJP/MarathiCursive";
|
2015-10-18 21:06:04 +02: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;
|
|
|
|
};
|
|
|
|
}
|