Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchzip,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "anonymouspro";
|
|
version = "1.002";
|
|
|
|
src = fetchzip {
|
|
url = "https://www.marksimonson.com/assets/content/fonts/AnonymousPro-${
|
|
lib.replaceStrings [ "." ] [ "_" ] version
|
|
}.zip";
|
|
hash = "sha256-FhyzV4By8XKN9EyukAknzml/7lUuV6Evnt6Ht3H6TUU=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
|
install -Dm644 *.txt -t $out/share/doc/${pname}-${version}
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.marksimonson.com/fonts/view/anonymous-pro";
|
|
description = "TrueType font set intended for source code";
|
|
longDescription = ''
|
|
Anonymous Pro (2009) is a family of four fixed-width fonts
|
|
designed with coding in mind. Anonymous Pro features an
|
|
international, Unicode-based character set, with support for
|
|
most Western and Central European Latin-based languages, plus
|
|
Greek and Cyrillic. It is designed by Mark Simonson.
|
|
'';
|
|
maintainers = with maintainers; [ raskin ];
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|