81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
28 lines
833 B
Nix
28 lines
833 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "1.13.0";
|
|
in
|
|
fetchzip rec {
|
|
name = "Cozette-${version}";
|
|
|
|
url = "https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts.zip";
|
|
|
|
sha256 = "sha256-xp3BCYfNUxCNewg4FfzmJnKp0PARvvnViMVwT25nWdM=";
|
|
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
|
unzip -j $downloadedFile \*.bdf -d $out/share/fonts/misc
|
|
unzip -j $downloadedFile \*.otb -d $out/share/fonts/misc
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A bitmap programming font optimized for coziness";
|
|
homepage = "https://github.com/slavfox/cozette";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ brettlyons marsam ];
|
|
};
|
|
}
|