Merge pull request #87719 from oxalica/bump/sarasa-gothic
sarasa-gothic: 0.8.0 -> 0.12.6
This commit is contained in:
commit
5a0b071ff0
@ -1,18 +1,19 @@
|
|||||||
{ lib, fetchurl, p7zip }:
|
{ lib, fetchurl, libarchive }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.8.2";
|
version = "0.12.6";
|
||||||
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-ttc-${version}.7z";
|
||||||
sha256 = "17xkpklb6spi10132lq658fwvrms3fs7ksb9j098z9vaqad1k51q";
|
sha256 = "1b15gsmv2jr0r8xssr8216s8xsghr6w5wm3w3imm3qlh3kqk1qg8";
|
||||||
|
|
||||||
recursiveHash = true;
|
recursiveHash = true;
|
||||||
downloadToTemp = true;
|
downloadToTemp = true;
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
${p7zip}/bin/7z x $downloadedFile -o$out/share/fonts
|
mkdir -p $out/share/fonts
|
||||||
|
${libarchive}/bin/bsdtar -xf $downloadedFile -C $out/share/fonts
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user