1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #87719 from oxalica/bump/sarasa-gothic

sarasa-gothic: 0.8.0 -> 0.12.6
This commit is contained in:
Mario Rodas 2020-05-14 08:09:19 -05:00 committed by GitHub
commit 5a0b071ff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {