sarasa-gothic: 0.32.9 -> 0.34.7
This commit is contained in:
parent
e49cd51ebc
commit
21acfcd963
1 changed files with 7 additions and 6 deletions
|
@ -1,26 +1,27 @@
|
||||||
{ lib, fetchurl, libarchive }:
|
{ lib, fetchurl, libarchive }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.32.9";
|
version = "0.34.7";
|
||||||
in fetchurl {
|
in fetchurl {
|
||||||
name = "sarasa-gothic-${version}";
|
name = "sarasa-gothic-${version}";
|
||||||
|
|
||||||
url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z";
|
url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttf-${version}.7z";
|
||||||
sha256 = "0mwaj9dq26f36ddywjm7m0is1jml2kpmqm46b16c8avvr97c65z5";
|
sha256 = "094sl6gklrdv9pk4r6451dvz0fjyjmwys7i81qrz4ik1km5dfq9b";
|
||||||
|
|
||||||
recursiveHash = true;
|
recursiveHash = true;
|
||||||
downloadToTemp = true;
|
downloadToTemp = true;
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts
|
mkdir -p $out/share/fonts/truetype
|
||||||
${libarchive}/bin/bsdtar -xf $downloadedFile -C $out/share/fonts
|
${libarchive}/bin/bsdtar -xf $downloadedFile -C $out/share/fonts/truetype
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "SARASA GOTHIC is a Chinese & Japanese programming font based on Iosevka and Source Han Sans";
|
description = "A CJK programming font based on Iosevka and Source Han Sans";
|
||||||
homepage = "https://github.com/be5invis/Sarasa-Gothic";
|
homepage = "https://github.com/be5invis/Sarasa-Gothic";
|
||||||
license = licenses.ofl;
|
license = licenses.ofl;
|
||||||
maintainers = [ maintainers.ChengCat ];
|
maintainers = [ maintainers.ChengCat ];
|
||||||
|
hydraPlatforms = [ ]; # disabled from hydra because it's so big
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue