diff --git a/pkgs/data/fonts/kawkab-mono/default.nix b/pkgs/data/fonts/kawkab-mono/default.nix new file mode 100644 index 000000000000..4f6e430f7a24 --- /dev/null +++ b/pkgs/data/fonts/kawkab-mono/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchurl, unzip}: + +stdenv.mkDerivation rec { + name = "kawkab-mono-20151015"; + + src = fetchurl { + url = "http://makkuk.com/kawkab-mono/downloads/kawkab-mono-0.1.zip"; + sha256 = "16pv9s4q7199aacbzfi2d10rcrq77vyfvzcy42g80nhfrkz1cb0m"; + }; + + buildInputs = [ unzip ]; + sourceRoot = "."; + + installPhase = '' + mkdir -p $out/share/fonts/truetype + cp *.ttf $out/share/fonts/truetype + ''; + + meta = { + description = "An arab fixed-width font"; + homepage = "http://makkuk.com/kawkab-mono/"; + license = stdenv.lib.licenses.ofl; + }; +} + + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b1608bf2f2e5..cd5462b15b09 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10537,6 +10537,8 @@ let junicode = callPackage ../data/fonts/junicode { }; + kawkab-mono-font = callPackage ../data/fonts/kawkab-mono {}; + kochi-substitute = callPackage ../data/fonts/kochi-substitute {}; kochi-substitute-naga10 = callPackage ../data/fonts/kochi-substitute-naga10 {};