2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchFromGitHub }:
|
2019-04-08 14:30:11 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
let
|
2019-04-08 14:30:11 +01:00
|
|
|
pname = "ir-standard-fonts";
|
2019-05-13 02:55:32 +01:00
|
|
|
version = "unstable-2017-01-21";
|
2019-08-13 22:52:01 +01:00
|
|
|
in fetchFromGitHub {
|
2019-05-13 02:55:32 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
owner = "morealaz";
|
|
|
|
repo = pname;
|
|
|
|
rev = "d36727d6c38c23c01b3074565667a2fe231fe18f";
|
2019-04-08 14:30:11 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
postFetch = ''
|
|
|
|
tar xf $downloadedFile --strip=1
|
|
|
|
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/ir-standard-fonts {} \;
|
2019-04-08 14:30:11 +01:00
|
|
|
'';
|
2019-05-13 02:55:32 +01:00
|
|
|
sha256 = "0i2vzhwk77pm6fx5z5gxl026z9f35rhh3cvl003mry2lcg1x5rhp";
|
2019-04-08 14:30:11 +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/morealaz/ir-standard-fonts";
|
2019-04-08 14:30:11 +01:00
|
|
|
description = "Iran Supreme Council of Information and Communication Technology (SCICT) standard Persian fonts series";
|
|
|
|
# License information is unavailable.
|
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = platforms.all;
|
2022-02-20 04:20:00 +00:00
|
|
|
maintainers = [ ];
|
2019-04-08 14:30:11 +01:00
|
|
|
};
|
|
|
|
}
|