From ae3be1a41a3a79c6b22b35d0f92f53adf35ee0c5 Mon Sep 17 00:00:00 2001 From: LinArcX Date: Mon, 8 Apr 2019 18:00:11 +0430 Subject: ir-standard-fonts: init at unstable-2017-01-21 (#57943) --- pkgs/data/fonts/ir-standard-fonts/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/data/fonts/ir-standard-fonts/default.nix (limited to 'pkgs/data/fonts/ir-standard-fonts') diff --git a/pkgs/data/fonts/ir-standard-fonts/default.nix b/pkgs/data/fonts/ir-standard-fonts/default.nix new file mode 100644 index 00000000000..af1392e9d5e --- /dev/null +++ b/pkgs/data/fonts/ir-standard-fonts/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "ir-standard-fonts"; + version= "unstable-2017-01-21"; + + src = fetchFromGitHub { + owner = "morealaz"; + repo = pname; + rev = "d36727d6c38c23c01b3074565667a2fe231fe18f"; + sha256 = "1ks9q1r1gk2517yfr1fbgrdbgw0w97i4am6jqn5ywpgm2xd03yg1"; + }; + + installPhase = '' + mkdir -p $out/share/fonts/ir-standard-fonts + cp -v $( find . -name '*.ttf') $out/share/fonts/ir-standard-fonts + ''; + + meta = with stdenv.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 = [ maintainers.linarcx ]; + }; +} -- cgit 1.4.1