nixpkgs/pkgs/data/fonts/termsyn/default.nix

27 lines
723 B
Nix
Raw Normal View History

2021-04-22 00:40:24 +00:00
{ lib, stdenv, fetchurl, mkfontscale }:
stdenv.mkDerivation rec {
pname = "termsyn";
version = "1.8.7";
src = fetchurl {
url = "mirror://sourceforge/termsyn/termsyn-${version}.tar.gz";
sha256 = "15vsmc3nmzl0pkgdpr2993da7p38fiw2rvcg01pwldzmpqrmkpn6";
};
nativeBuildInputs = [ mkfontscale ];
installPhase = ''
install -m 644 -D *.pcf -t "$out/share/fonts"
install -m 644 -D *.psfu -t "$out/share/kbd/consolefonts"
mkfontdir "$out/share/fonts"
'';
meta = with lib; {
description = "Monospaced font based on terminus and tamsyn";
homepage = "https://sourceforge.net/projects/termsyn/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ sophrosyne ];
};
}