spleen: 1.0.5 -> 1.3.0

Install psfu files for console use.
This commit is contained in:
Will Dietz 2019-09-13 21:45:45 -05:00
parent a412701c8d
commit c21ae92d94
No known key found for this signature in database
GPG Key ID: EBB0EA4124809D02

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";