flakes/overlays/cascadia-code.nix
LavaDesu e2408b449c
revert to cascadia-code 2102.25
i really can't handle the cursive anymore it's literally unreadable
2021-07-05 19:39:45 +07:00

12 lines
501 B
Nix

self: super: {
cascadia-code = let version = "2102.25"; in super.fetchzip {
name = "cascadia-code-${version}";
url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip";
sha256 = "14qhawcf1jmv68zdfbi2zfqdw4cf8fpk7plxzphmkqsp7hlw9pzx";
postFetch = ''
mkdir -p $out/share/fonts/
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
'';
};
}