diff options
Diffstat (limited to 'nixpkgs/pkgs/data/fonts/ir-standard-fonts/default.nix')
-rw-r--r-- | nixpkgs/pkgs/data/fonts/ir-standard-fonts/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/data/fonts/ir-standard-fonts/default.nix b/nixpkgs/pkgs/data/fonts/ir-standard-fonts/default.nix new file mode 100644 index 000000000000..d59c111c96b7 --- /dev/null +++ b/nixpkgs/pkgs/data/fonts/ir-standard-fonts/default.nix @@ -0,0 +1,30 @@ +{ lib, stdenvNoCC, fetchFromGitHub }: + +stdenvNoCC.mkDerivation rec { + pname = "ir-standard-fonts"; + version = "20170121"; + + src = fetchFromGitHub { + owner = "molaeiali"; + repo = pname; + rev = version; + hash = "sha256-o1d8SBX3nf7g6Gh4OP+JRS+LNrHTQOIiHhW3VNCkDV0="; + }; + + installPhase = '' + runHook preInstall + + find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/ir-standard-fonts {} \; + + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/morealaz/ir-standard-fonts"; + description = "Iran Supreme Council of Information and Communication Technology (SCICT) standard Persian fonts series"; + # License information is unavailable. + license = licenses.unfree; + platforms = platforms.all; + maintainers = [ ]; + }; +} |