Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 26 lines 723 B view raw
1{ lib, stdenv, fetchurl, mkfontscale }: 2 3stdenv.mkDerivation rec { 4 pname = "termsyn"; 5 version = "1.8.7"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/termsyn/termsyn-${version}.tar.gz"; 9 sha256 = "15vsmc3nmzl0pkgdpr2993da7p38fiw2rvcg01pwldzmpqrmkpn6"; 10 }; 11 12 nativeBuildInputs = [ mkfontscale ]; 13 14 installPhase = '' 15 install -m 644 -D *.pcf -t "$out/share/fonts" 16 install -m 644 -D *.psfu -t "$out/share/kbd/consolefonts" 17 mkfontdir "$out/share/fonts" 18 ''; 19 20 meta = with lib; { 21 description = "Monospaced font based on terminus and tamsyn"; 22 homepage = "https://sourceforge.net/projects/termsyn/"; 23 license = licenses.gpl2Only; 24 maintainers = with maintainers; [ sophrosyne ]; 25 }; 26}