diff options
author | sophrosyne97 <joshuaortiz@tutanota.com> | 2021-04-21 20:40:24 -0400 |
---|---|---|
committer | sophrosyne97 <joshuaortiz@tutanota.com> | 2021-04-25 09:40:26 -0400 |
commit | 093b2f8b2608fe6600c1b510088de9418238547e (patch) | |
tree | 417a7170108cb9d0e307524097a2b4d0a987fed2 | |
parent | 52b2fec43ba8d39c003627fe5f7fa59195bd40f2 (diff) |
termsyn: init at 1.8.7
-rw-r--r-- | pkgs/data/fonts/termsyn/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/data/fonts/termsyn/default.nix b/pkgs/data/fonts/termsyn/default.nix new file mode 100644 index 0000000000000..50450a04e2d8c --- /dev/null +++ b/pkgs/data/fonts/termsyn/default.nix @@ -0,0 +1,26 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 05ec02277c536..6d27a4c0f75e8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -910,6 +910,8 @@ in inherit (haskellPackages) ghcWithPackages; }; + termsyn = callPackage ../data/fonts/termsyn { }; + tilda = callPackage ../applications/terminal-emulators/tilda { gtk = gtk3; }; |