anonymous-pro-fonts: refactor and rename from anonymousPro (#488354)
This commit is contained in:
+5
-5
@@ -4,13 +4,13 @@
|
||||
fetchzip,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "anonymouspro";
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "anonymous-pro-fonts";
|
||||
version = "1.002";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://www.marksimonson.com/assets/content/fonts/AnonymousPro-${
|
||||
lib.replaceStrings [ "." ] [ "_" ] version
|
||||
lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version
|
||||
}.zip";
|
||||
hash = "sha256-FhyzV4By8XKN9EyukAknzml/7lUuV6Evnt6Ht3H6TUU=";
|
||||
};
|
||||
@@ -19,7 +19,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/truetype
|
||||
install -Dm644 *.txt -t $out/share/doc/${pname}-${version}
|
||||
install -Dm644 *.txt -t $out/share/doc/AnonymousPro-${finalAttrs.version}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
@@ -38,4 +38,4 @@ stdenvNoCC.mkDerivation rec {
|
||||
license = lib.licenses.ofl;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
@@ -292,6 +292,7 @@ mapAliases {
|
||||
androidndkPkgs_25 = throw "androidndkPkgs_25 has been removed, as it is EOL"; # Added 2025-08-09
|
||||
androidndkPkgs_26 = throw "androidndkPkgs_26 has been removed, as it is EOL"; # Added 2025-08-09
|
||||
anew = throw "'anew' has been removed, as it has been unmaintained upstream since March 2022"; # Added 2026-01-01
|
||||
anonymousPro = anonymous-pro-fonts; # Added 2026-02-08
|
||||
ansible-language-server = throw "ansible-language-server was removed, because it was unmaintained in nixpkgs."; # Added 2025-09-24
|
||||
ansible-later = throw "ansible-later has been discontinued. The author recommends switching to ansible-lint"; # Added 2025-08-24
|
||||
ansible_2_16 = throw "ansible_2_16 has been removed, as it is EOL"; # Added 2025-11-10
|
||||
|
||||
Reference in New Issue
Block a user