Last active
February 7, 2025 00:51
-
-
Save haruki7049/28ae2fb91d3763cade830e5862429384 to your computer and use it in GitHub Desktop.
cica nix package https://github.com/miiton/Cica
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To use cica fonts, run `nix-build -E 'with import <nixpkgs> { }; callPackage ./. { }` | |
{ | |
stdenvNoCC, | |
fetchzip, | |
}: | |
stdenvNoCC.mkDerivation { | |
pname = "cica"; | |
version = "5.0.3"; | |
src = fetchzip { | |
url = "https://github.com/miiton/Cica/releases/download/v5.0.3/Cica_v5.0.3.zip"; | |
hash = "sha256-BtDnfWCfD9NE8tcWSmk8ciiInsspNPTPmAdGzpg62SM="; | |
stripRoot = false; | |
}; | |
installPhase = '' | |
mkdir -p $out/share/fonts/cica | |
cp Cica-Bold.ttf \ | |
Cica-BoldItalic.ttf \ | |
Cica-Regular.ttf \ | |
Cica-RegularItalic.ttf \ | |
$out/share/fonts/cica | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment