aurulent-sans: migration to installFonts (#521735)

This commit is contained in:
Gaétan Lepage
2026-08-03 22:58:15 +00:00
committed by GitHub

View File

@@ -2,33 +2,31 @@
lib,
stdenvNoCC,
fetchFromGitHub,
installFonts,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "aurulent-sans";
version = "0.1";
__structuredAttrs = true;
strictDeps = true;
src = fetchFromGitHub {
owner = "deepfire";
repo = "hartke-aurulent-sans";
rev = "${pname}-${version}";
tag = "aurulent-sans-${finalAttrs.version}";
hash = "sha256-M/duhgqxXZJq5su9FrsGjZdm+wtO5B5meoDomde+GwY=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.otf -t $out/share/fonts
runHook postInstall
'';
nativeBuildInputs = [ installFonts ];
meta = {
description = "Aurulent Sans";
longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font.";
longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font";
homepage = "http://delubrum.org/";
maintainers = with lib.maintainers; [ pancaek ];
license = lib.licenses.ofl;
platforms = lib.platforms.all;
};
}
})