nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 1.2 kB view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchzip, 5}: 6 7stdenvNoCC.mkDerivation rec { 8 pname = "anonymouspro"; 9 version = "1.002"; 10 11 src = fetchzip { 12 url = "https://www.marksimonson.com/assets/content/fonts/AnonymousPro-${ 13 lib.replaceStrings [ "." ] [ "_" ] version 14 }.zip"; 15 hash = "sha256-FhyzV4By8XKN9EyukAknzml/7lUuV6Evnt6Ht3H6TUU="; 16 }; 17 18 installPhase = '' 19 runHook preInstall 20 21 install -Dm644 *.ttf -t $out/share/fonts/truetype 22 install -Dm644 *.txt -t $out/share/doc/${pname}-${version} 23 24 runHook postInstall 25 ''; 26 27 meta = { 28 homepage = "https://www.marksimonson.com/fonts/view/anonymous-pro"; 29 description = "TrueType font set intended for source code"; 30 longDescription = '' 31 Anonymous Pro (2009) is a family of four fixed-width fonts 32 designed with coding in mind. Anonymous Pro features an 33 international, Unicode-based character set, with support for 34 most Western and Central European Latin-based languages, plus 35 Greek and Cyrillic. It is designed by Mark Simonson. 36 ''; 37 maintainers = with lib.maintainers; [ raskin ]; 38 license = lib.licenses.ofl; 39 platforms = lib.platforms.all; 40 }; 41}