1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 18:12:46 +00:00
nixpkgs/pkgs/data/fonts/termsyn/default.nix
2021-04-25 09:40:26 -04:00

27 lines
723 B
Nix

{ 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 ];
};
}