nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 32 lines 810 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3let 4 majorVersion = "1"; 5 minorVersion = "10"; 6in 7stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "route159"; 9 version = "${majorVersion}.${minorVersion}"; 10 11 src = fetchzip { 12 url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip"; 13 hash = "sha256-1InyBW1LGbp/IU/ql9mvT14W3MTxJdWThFwRH6VHpTU="; 14 stripRoot = false; 15 }; 16 17 installPhase = '' 18 runHook preInstall 19 20 install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 runHook postInstall 23 ''; 24 25 meta = with lib; { 26 homepage = "http://dotcolon.net/font/${finalAttrs.pname}/"; 27 description = "A weighted sans serif font"; 28 platforms = platforms.all; 29 maintainers = with maintainers; [ leenaars minijackson ]; 30 license = licenses.ofl; 31 }; 32})