nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 814 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "oldstandard"; 5 version = "2.2"; 6 7 src = fetchzip { 8 url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${pname}-${version}.otf.zip"; 9 stripRoot = false; 10 hash = "sha256-cDB5KJm87DK+GczZ3Nmn4l5ejqViswVbwrJ9XbhEh8I="; 11 }; 12 13 installPhase = '' 14 runHook preInstall 15 16 install -m444 -Dt $out/share/fonts/opentype *.otf 17 install -m444 -Dt $out/share/doc/${pname}-${version} FONTLOG.txt 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 homepage = "https://github.com/akryukov/oldstand"; 24 description = "An attempt to revive a specific type of Modern style of serif typefaces"; 25 maintainers = with maintainers; [ raskin ]; 26 license = licenses.ofl; 27 platforms = platforms.all; 28 }; 29}