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
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchzip,
|
|
}:
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "commit-mono";
|
|
version = "1.143";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/eigilnikolajsen/commit-mono/releases/download/v${finalAttrs.version}/CommitMono-${finalAttrs.version}.zip";
|
|
hash = "sha256-JTyPgWfbWq+lXQU/rgnyvPG6+V3f+FB5QUkd+I1oFKE=";
|
|
stripRoot = false;
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontPatch = true;
|
|
dontBuild = true;
|
|
dontFixup = true;
|
|
doCheck = false;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -Dm644 CommitMono-${finalAttrs.version}/*.otf -t $out/share/fonts/opentype
|
|
install -Dm644 CommitMono-${finalAttrs.version}/ttfautohint/*.ttf -t $out/share/fonts/truetype
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Anonymous and neutral programming typeface focused on creating a better reading experience";
|
|
homepage = "https://commitmono.com/";
|
|
license = lib.licenses.ofl;
|
|
maintainers = with lib.maintainers; [ yoavlavi ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|