2020-04-24 23:36:52 +00:00
|
|
|
|
{ lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
|
|
let
|
|
|
|
|
pname = "gandom-fonts";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
version = "0.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
in fetchFromGitHub {
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
owner = "rastikerdar";
|
|
|
|
|
repo = "gandom-font";
|
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
|
tar xf $downloadedFile --strip=1
|
|
|
|
|
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/gandom-fonts {} \;
|
|
|
|
|
'';
|
2022-02-20 05:27:41 +00:00
|
|
|
|
sha256 = "sha256-EDS3wwKwe2BIcOCxu7DxkVLCoEoTPP31k5ID51lqn3M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
|
homepage = "https://github.com/rastikerdar/gandom-font";
|
|
|
|
|
description = "A Persian (Farsi) Font - فونت (قلم) فارسی گندم";
|
|
|
|
|
license = licenses.ofl;
|
|
|
|
|
platforms = platforms.all;
|
|
|
|
|
maintainers = [ maintainers.linarcx ];
|
|
|
|
|
};
|
|
|
|
|
}
|