mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
Merge pull request #115345 from fortuneteller2k/update-scientifica
scientifica: 2.1 -> 2.2
This commit is contained in:
commit
854859ab3e
@ -1,25 +1,25 @@
|
||||
{ lib, fetchurl }:
|
||||
|
||||
let
|
||||
version = "2.1";
|
||||
version = "2.2";
|
||||
in fetchurl rec {
|
||||
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;
|
||||
|
||||
recursiveHash = true;
|
||||
|
||||
sha256 = "081faa48d6g86pacmgjqa96in72rjldavnwxq6bdq2br33h3qwrz";
|
||||
sha256 = "sha256-mkZnuW+CB20t6MEpEeQR1CWkIUtqgVwrKN4sezQRaB4=";
|
||||
|
||||
postFetch = ''
|
||||
tar xvf $downloadedFile
|
||||
tar xf $downloadedFile
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/fonts/misc
|
||||
cp scientifica/ttf/*.ttf $out/share/fonts/truetype
|
||||
cp scientifica/otb/*.otb $out/share/fonts/misc
|
||||
cp scientifica/bdf/*.bdf $out/share/fonts/misc
|
||||
install scientifica/ttf/*.ttf $out/share/fonts/truetype
|
||||
install scientifica/otb/*.otb $out/share/fonts/misc
|
||||
install scientifica/bdf/*.bdf $out/share/fonts/misc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user