nixpkgs/pkgs/data/fonts/cozette/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
846 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2020-02-24 18:08:57 +00:00
stdenvNoCC.mkDerivation rec {
pname = "cozette";
2023-04-20 16:09:33 +00:00
version = "1.19.2";
2020-02-24 18:08:57 +00:00
src = fetchzip {
url = "https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts.zip";
2023-04-20 16:09:33 +00:00
hash = "sha256-+TnKUgrAafR5irS9XeXWfb1a2PfUKOXf8CAmqJbf6y4=";
};
installPhase = ''
runHook preInstall
2020-02-24 18:08:57 +00:00
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 *.otf -t $out/share/fonts/opentype
install -Dm644 *.bdf -t $out/share/fonts/misc
install -Dm644 *.otb -t $out/share/fonts/misc
runHook postInstall
'';
2020-02-24 18:08:57 +00:00
2020-07-02 09:20:00 +00:00
meta = with lib; {
description = "A bitmap programming font optimized for coziness";
2020-02-24 18:08:57 +00:00
homepage = "https://github.com/slavfox/cozette";
license = licenses.mit;
platforms = platforms.all;
2020-07-02 09:20:00 +00:00
maintainers = with maintainers; [ brettlyons marsam ];
2020-02-24 18:08:57 +00:00
};
}