nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 835 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "fraunces"; 5 version = "1.000"; 6 7 src = fetchzip { 8 url = "https://github.com/undercasetype/Fraunces/releases/download/${version}/UnderCaseType_Fraunces_${version}.zip"; 9 hash = "sha256-hu2G4Fs2I3TMEy/EBFnc88Pv3c8Mpc5rm3OwVvol7gQ="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm644 */static/otf/*.otf -t $out/share/fonts/opentype 16 install -Dm644 */static/ttf/*.ttf */*.ttf -t $out/share/fonts/truetype 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 description = "A display, Old Style soft-serif typeface inspired by early 20th century typefaces"; 23 homepage = "https://github.com/undercasetype/Fraunces"; 24 license = licenses.ofl; 25 maintainers = [ maintainers.marsam ]; 26 platforms = platforms.all; 27 }; 28}