nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 725 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "norwester"; 5 version = "1.2"; 6 7 src = fetchzip { 8 url = "http://jamiewilson.io/norwester/assets/norwester.zip"; 9 stripRoot = false; 10 hash = "sha256-Ak/nobrQE/XYGWs/IhlZlTp74ff+s4adUR6Sht5Yf8g="; 11 }; 12 13 installPhase = '' 14 runHook preInstall 15 16 mkdir -p $out/share/fonts/opentype 17 cp ${pname}-v${version}/${pname}.otf $out/share/fonts/opentype/ 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 homepage = "http://jamiewilson.io/norwester"; 24 description = "A condensed geometric sans serif by Jamie Wilson"; 25 maintainers = with maintainers; [ leenaars ]; 26 license = licenses.ofl; 27 platforms = platforms.all; 28 }; 29}