{ungoogled-,}chromium,chromedriver: 130.0.6723.58 -> 130.0.6723.69 (#351519)
[NixPkgs.git] / pkgs / data / fonts / nafees / default.nix
blobe23528aefe8057b643bd4eaf8bb743a775331af0
1 {lib, stdenv, fetchurl, unzip}:
3 stdenv.mkDerivation {
4   name = "nafees";
6   srcs = [(fetchurl {
7     url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesNastaleeq/Nafees_Nastaleeq_v1.02.zip";
8     sha256 = "1h1k5d74pg2gs782910v7i9rz2633wdacy34ds7ybxbpjiz6pqix";
9   })
11   (fetchurl {
12     url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesRiqa/Nafees_Riqa_v1.0.zip";
13     sha256 = "1liismsyaj69y40vs9a9db4l95n25n8vnjnx7sbk70nxppwngd8i";
14   })
16   (fetchurl {
17     url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesNaskh/Nafees_Naskh_v2.01.zip";
18     sha256 = "1qbbj6w6bvrlymv7z6ld609yhp0l2f27z14180w5n8kzzl720vly";
19   })
21   (fetchurl {
22     url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesTahreerNaskh/Nafees_Tahreer_Naskh_v1.0.zip";
23     sha256 = "006l87drbi4zh52kpvn8wl9wbwm9srfn406rzsnf4gv0spzhqrxl";
24   })
25   (fetchurl {
26     url = "http://www.cle.org.pk/Downloads/localization/fonts/NafeesPakistaniNaskh/Nafees_Pakistani_Naskh_v2.01.zip";
27     sha256 = "1i5ip60gq1cgc9fc96kvlahdpia8dxdgcisglvbm2d212bz0s5nb";
28   })
31   nativeBuildInputs = [unzip];
33   sourceRoot = ".";
35   installPhase = ''
36     mkdir -p $out/share/fonts/truetype
37     cp *.ttf $out/share/fonts/truetype
38     # cp $riqa/*.ttf $out/share/fonts/truetype
39   '';
41   outputHashAlgo = "sha256";
42   outputHashMode = "recursive";
43   outputHash = "1wa0j65iz20ij37dazd1rjg8x625m6q1y8g5h7ia48pbc88sr01q";
45   meta = {
46     description = "OpenType Urdu font from the Center for Research in Urdu Language Processing";
47     longDescription = ''
48       The Nafees font family is developed according
49       to calligraphic rules, following the style of Syed Nafees
50       Al-Hussaini (Nafees Raqam) one of the finest calligraphers of
51       Pakistan
52     '';
53     homepage = "http://www.cle.org.pk/software/localization.htm";
55     # Used to be GPLv2.  The license distributed with the fonts looks
56     # more like a modified BSD, but still contains the GPLv2 embedded
57     # font exception, and some not-for-resale language.
58     license = "unknown";
59     platforms = lib.platforms.all;
60     maintainers = with lib.maintainers; [ bergey ];
61   };