Nafees font family (5 fonts)
This commit is contained in:
parent
b924959648
commit
2bfd36fa14
59
pkgs/data/fonts/nafees/default.nix
Normal file
59
pkgs/data/fonts/nafees/default.nix
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
{stdenv, fetchurl, unzip}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "nafees";
|
||||||
|
|
||||||
|
srcs = [(fetchurl {
|
||||||
|
url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesNastaleeq/Nafees_Nastaleeq_v1.02.zip";
|
||||||
|
sha256 = "1h1k5d74pg2gs782910v7i9rz2633wdacy34ds7ybxbpjiz6pqix";
|
||||||
|
})
|
||||||
|
|
||||||
|
(fetchurl {
|
||||||
|
url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesRiqa/Nafees_Riqa_v1.0.zip";
|
||||||
|
sha256 = "1liismsyaj69y40vs9a9db4l95n25n8vnjnx7sbk70nxppwngd8i";
|
||||||
|
})
|
||||||
|
|
||||||
|
(fetchurl {
|
||||||
|
url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesNaskh/Nafees_Naskh_v2.01.zip";
|
||||||
|
sha256 = "1qbbj6w6bvrlymv7z6ld609yhp0l2f27z14180w5n8kzzl720vly";
|
||||||
|
})
|
||||||
|
|
||||||
|
(fetchurl {
|
||||||
|
url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesTahreerNaskh/Nafees_Tahreer_Naskh_v1.0.zip";
|
||||||
|
sha256 = "006l87drbi4zh52kpvn8wl9wbwm9srfn406rzsnf4gv0spzhqrxl";
|
||||||
|
})
|
||||||
|
(fetchurl {
|
||||||
|
url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesPakistaniNaskh/Nafees_Pakistani_Naskh_v2.01.zip";
|
||||||
|
sha256 = "1i5ip60gq1cgc9fc96kvlahdpia8dxdgcisglvbm2d212bz0s5nb";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [unzip];
|
||||||
|
|
||||||
|
sourceRoot = ".";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/fonts/truetype
|
||||||
|
cp *.ttf $out/share/fonts/truetype
|
||||||
|
# cp $riqa/*.ttf $out/share/fonts/truetype
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "OpenType Urdu font from the Center for Research in Urdu Language Processing";
|
||||||
|
|
||||||
|
longDescription = '' The Nafees font family is developed according
|
||||||
|
to calligraphic rules, following the style of Syed Nafees
|
||||||
|
Al-Hussaini (Nafees Raqam) one of the finest calligraphers of
|
||||||
|
Pakistan '';
|
||||||
|
|
||||||
|
homepage = "http://www.cle.org.pk/software/localization.htm";
|
||||||
|
|
||||||
|
# Used to be GPLv2. The license distributed with the fonts looks
|
||||||
|
# more like a modified BSD, but still contains the GPLv2 embedded
|
||||||
|
# font exception, and some not-for-resale language.
|
||||||
|
license = "unknown";
|
||||||
|
|
||||||
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
maintainers = [ "Daniel Bergey <bergey@teallabs.org>" ];
|
||||||
|
};
|
||||||
|
}
|
@ -7760,6 +7760,8 @@ let
|
|||||||
|
|
||||||
mph_2b_damase = callPackage ../data/fonts/mph-2b-damase { };
|
mph_2b_damase = callPackage ../data/fonts/mph-2b-damase { };
|
||||||
|
|
||||||
|
nafees = callPackage ../data/fonts/nafees { };
|
||||||
|
|
||||||
oldstandard = callPackage ../data/fonts/oldstandard { };
|
oldstandard = callPackage ../data/fonts/oldstandard { };
|
||||||
|
|
||||||
poly = callPackage ../data/fonts/poly { };
|
poly = callPackage ../data/fonts/poly { };
|
||||||
|
Loading…
Reference in New Issue
Block a user