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
43 lines
903 B
Nix
43 lines
903 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "montserrat";
|
|
version = "9.000";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "JulietaUla";
|
|
repo = "montserrat";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-fKgq3eUxrYBZtJuw2gs0K0wpW4BNqX5cDErF3IQ2ft4=";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/fonts/
|
|
|
|
mv fonts/otf $out/share/fonts/otf
|
|
mv fonts/ttf $out/share/fonts/ttf
|
|
mv fonts/webfonts $out/share/fonts/woff2
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Geometric sans serif font with extended latin support (Regular, Alternates, Subrayada)";
|
|
homepage = "https://www.fontspace.com/julieta-ulanovsky/montserrat";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [
|
|
scolobb
|
|
jk
|
|
];
|
|
};
|
|
})
|