Merge pull request #68738 from dtzWill/update/spleen-1.3.0

spleen: 1.0.5 -> 1.3.0
This commit is contained in:
Will Dietz 2019-09-16 10:47:09 -05:00 committed by GitHub
commit 0caa727cdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
let
pname = "spleen";
version = "1.0.5";
version = "1.3.0";
in fetchurl {
name = "${pname}-${version}";
url = "https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz";
@ -10,14 +10,13 @@ in fetchurl {
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
tar xf $downloadedFile --strip=1
tar xvf $downloadedFile --strip=1
d="$out/share/fonts/X11/misc/spleen"
gzip -n9 *.pcf
install -Dm644 *.pcf.gz -t $d
install -Dm644 *.bdf -t $d
install -Dm644 *.{pcf.gz,psfu,bdf} -t $d
install -m644 fonts.alias-spleen $d/fonts.alias
'';
sha256 = "0144a0lkkl5qx0a8sapymcayj5lp5cs9nfgpbmg3427n41pkqfbb";
sha256 = "1l1ksl8xnz1yh7jl8h2g25a7wfm9xgj3lay8ddqzlxzydkkm110q";
meta = with lib; {
description = "Monospaced bitmap fonts";