nixpkgs/pkgs/data/fonts/kawkab-mono/default.nix

27 lines
562 B
Nix
Raw Normal View History

2015-10-15 21:15:06 +01:00
{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;
};
}