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

27 lines
568 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation {
pname = "kawkab-mono";
version = "20151015";
src = fetchzip {
url = "http://makkuk.com/kawkab-mono/downloads/kawkab-mono-0.1.zip";
stripRoot = false;
hash = "sha256-arZTzXj7Ba5G4WF3eZVGNaONhOsYVPih9iBgsN/lg14=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
runHook postInstall
'';
meta = {
description = "Arab fixed-width font";
homepage = "https://makkuk.com/kawkab-mono/";
license = lib.licenses.ofl;
};
}