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