nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 35 lines 1.1 kB view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "anonymouspro"; 5 version = "1.002"; 6 7 src = fetchzip { 8 url = "https://www.marksimonson.com/assets/content/fonts/AnonymousPro-${lib.replaceStrings ["."] ["_"] version}.zip"; 9 hash = "sha256-FhyzV4By8XKN9EyukAknzml/7lUuV6Evnt6Ht3H6TUU="; 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}-${version} 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 homepage = "https://www.marksimonson.com/fonts/view/anonymous-pro"; 23 description = "TrueType font set intended for source code"; 24 longDescription = '' 25 Anonymous Pro (2009) is a family of four fixed-width fonts 26 designed with coding in mind. Anonymous Pro features an 27 international, Unicode-based character set, with support for 28 most Western and Central European Latin-based languages, plus 29 Greek and Cyrillic. It is designed by Mark Simonson. 30 ''; 31 maintainers = with maintainers; [ raskin ]; 32 license = licenses.ofl; 33 platforms = platforms.all; 34 }; 35}