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
35 lines
693 B
Nix
35 lines
693 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "sn-pro";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "supernotes";
|
|
repo = "sn-pro";
|
|
rev = version;
|
|
hash = "sha256-H8YG7FMn03tiBxz5TZDzowicqtewfX6rYd03pdTPYSo=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 -t $out/share/fonts/otf exports/SNPro/*.otf
|
|
install -Dm644 -t $out/share/fonts/woff2 exports/SNPro/*.woff2
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "SN Pro Font Family";
|
|
homepage = "https://github.com/supernotes/sn-pro";
|
|
license = licenses.ofl;
|
|
maintainers = [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|