nixpkgs/pkgs/data/fonts/kacst/default.nix
2023-01-24 20:12:29 +01:00

28 lines
629 B
Nix

{ lib, stdenvNoCC, fetchurl }:
stdenvNoCC.mkDerivation rec {
pname = "kacst";
version = "2.01";
src = fetchurl {
url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}+mry.orig.tar.bz2";
hash = "sha256-byiZzpYiMU6kJs+NSISfHPFzAnJtc8toNIbV/fKiMzg=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts
cp -R kacst $out/share/fonts
runHook postInstall
'';
meta = with lib; {
description = "KACST Latin-Arabic TrueType fonts";
license = licenses.gpl2Only;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}