prociono: use installFonts, modernize (#528955)

This commit is contained in:
Rémi NICOLE
2026-06-07 20:25:07 +00:00
committed by GitHub
+11 -9
View File
@@ -1,13 +1,22 @@
{
lib,
fetchFromGitHub,
stdenvNoCC,
fetchFromGitHub,
installFonts,
}:
stdenvNoCC.mkDerivation {
pname = "prociono";
version = "2011-05-25";
outputs = [
"out"
"webfont"
];
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "theleagueof";
repo = "prociono";
@@ -15,14 +24,7 @@ stdenvNoCC.mkDerivation {
hash = "sha256-gC5E0Z0O2cnthoBEu+UOQLsr3/a/3/JPIx3WCPsXXtk=";
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "Roman serif with blackletter elements";