nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 27 lines 664 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "ttf-envy-code-r"; 5 version = "PR7"; 6 7 src = fetchzip { 8 url = "http://download.damieng.com/fonts/original/EnvyCodeR-${version}.zip"; 9 hash = "sha256-pJqC/sbNjxEwbVf2CVoXMBI5zvT3DqzRlKSqFT8I2sM="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm644 *.ttf -t $out/share/fonts/truetype 16 install -Dm644 *.txt -t $out/share/doc/${pname} 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 homepage = "https://damieng.com/blog/tag/envy-code-r"; 23 description = "Free scalable coding font by DamienG"; 24 license = licenses.unfree; 25 maintainers = [ ]; 26 }; 27}