spleen: init at 1.0.4
Default console font on OpenBSD, FWIW: https://undeadly.org/cgi?action=article;sid=20190110064857
This commit is contained in:
parent
aaae785f90
commit
5410b3d789
26
pkgs/data/fonts/spleen/default.nix
Normal file
26
pkgs/data/fonts/spleen/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchurl, mkfontdir, mkfontscale }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "spleen";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz";
|
||||
sha256 = "1x62a5ygn3rpgzbaacz64rp8mn7saymdnxci4l3xasvsjjp60s3g";
|
||||
};
|
||||
|
||||
buildPhase = "gzip -n9 *.pcf";
|
||||
installPhase = ''
|
||||
d="$out/share/fonts/X11/misc/spleen"
|
||||
install -Dm644 *.pcf.gz -t $d
|
||||
install -Dm644 *.bdf -t $d
|
||||
install -m644 fonts.alias-spleen $d/fonts.alias
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Monospaced bitmap fonts";
|
||||
homepage = https://www.cambus.net/spleen-monospaced-bitmap-fonts;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
};
|
||||
}
|
@ -16099,6 +16099,8 @@ in
|
||||
source-han-serif-simplified-chinese = sourceHanSerifPackages.simplified-chinese;
|
||||
source-han-serif-traditional-chinese = sourceHanSerifPackages.traditional-chinese;
|
||||
|
||||
spleen = callPackage ../data/fonts/spleen { };
|
||||
|
||||
sudo-font = callPackage ../data/fonts/sudo { };
|
||||
|
||||
inherit (callPackages ../data/fonts/tai-languages { }) tai-ahom;
|
||||
|
Loading…
Reference in New Issue
Block a user