scientifica: 2.1 -> 2.2

This commit is contained in:
fortuneteller2k 2021-03-08 01:29:14 +08:00
parent c00f738dbb
commit 39d56d9865
1 changed files with 7 additions and 7 deletions

View File

@ -1,25 +1,25 @@
{ lib, fetchurl }: { lib, fetchurl }:
let let
version = "2.1"; version = "2.2";
in fetchurl rec { in fetchurl rec {
name = "scientifica-${version}"; name = "scientifica-${version}";
url = "https://github.com/NerdyPepper/scientifica/releases/download/v${version}/scientifica-v${version}.tar"; url = "https://github.com/NerdyPepper/scientifica/releases/download/v${version}/scientifica.tar";
downloadToTemp = true; downloadToTemp = true;
recursiveHash = true; recursiveHash = true;
sha256 = "081faa48d6g86pacmgjqa96in72rjldavnwxq6bdq2br33h3qwrz"; sha256 = "sha256-mkZnuW+CB20t6MEpEeQR1CWkIUtqgVwrKN4sezQRaB4=";
postFetch = '' postFetch = ''
tar xvf $downloadedFile tar xf $downloadedFile
mkdir -p $out/share/fonts/truetype mkdir -p $out/share/fonts/truetype
mkdir -p $out/share/fonts/misc mkdir -p $out/share/fonts/misc
cp scientifica/ttf/*.ttf $out/share/fonts/truetype install scientifica/ttf/*.ttf $out/share/fonts/truetype
cp scientifica/otb/*.otb $out/share/fonts/misc install scientifica/otb/*.otb $out/share/fonts/misc
cp scientifica/bdf/*.bdf $out/share/fonts/misc install scientifica/bdf/*.bdf $out/share/fonts/misc
''; '';
meta = with lib; { meta = with lib; {