cascadia-code: remove overlay and use upstream

This commit is contained in:
LavaDesu 2021-11-15 23:14:03 +07:00
parent 7db9bd5ac8
commit e66c59052f
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -1,12 +0,0 @@
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
'';
};
}