2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "cozette";
|
2023-02-22 10:55:15 +00:00
|
|
|
version = "1.19.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts.zip";
|
2023-02-22 10:55:15 +00:00
|
|
|
hash = "sha256-CpabWJJDCY+mgE+9U8L50MmWVfhkm+LnfMQtOTXyE8s=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +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-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "A bitmap programming font optimized for coziness";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/slavfox/cozette";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with maintainers; [ brettlyons marsam ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
}
|