mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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
|
||||
version = "0.8.2";
|
||||
version = "0.12.6";
|
||||
in fetchurl {
|
||||
name = "sarasa-gothic-${version}";
|
||||
|
||||
url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z";
|
||||
sha256 = "17xkpklb6spi10132lq658fwvrms3fs7ksb9j098z9vaqad1k51q";
|
||||
sha256 = "1b15gsmv2jr0r8xssr8216s8xsghr6w5wm3w3imm3qlh3kqk1qg8";
|
||||
|
||||
recursiveHash = true;
|
||||
downloadToTemp = true;
|
||||
|
||||
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; {
|
||||
|
|
Loading…
Reference in a new issue