nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 27 lines 629 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "kacst"; 5 version = "2.01"; 6 7 src = fetchurl { 8 url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}+mry.orig.tar.bz2"; 9 hash = "sha256-byiZzpYiMU6kJs+NSISfHPFzAnJtc8toNIbV/fKiMzg="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 mkdir -p $out/share/fonts 16 cp -R kacst $out/share/fonts 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 description = "KACST Latin-Arabic TrueType fonts"; 23 license = licenses.gpl2Only; 24 maintainers = with lib.maintainers; [ serge ]; 25 platforms = platforms.all; 26 }; 27}