Merge pull request #115345 from fortuneteller2k/update-scientifica
scientifica: 2.1 -> 2.2
This commit is contained in:
commit
854859ab3e
1 changed files with 7 additions and 7 deletions
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue