summary refs log tree commit diff
path: root/pkgs/applications/networking/gopher
diff options
context:
space:
mode:
authorsternenseemann <git@lukasepple.de>2020-07-22 23:21:19 +0200
committersternenseemann <sternenseemann@systemli.org>2020-08-06 00:19:03 +0200
commitab602aa6e43d9fe053ce8d87acbf9fb89058b811 (patch)
treef11e871b31113ea65af185db1803f2242d7c569c /pkgs/applications/networking/gopher
parent1c26e6baecd8a71e4d41ff0eb3c81ce3c05136c3 (diff)
downloadnixpkgs-ab602aa6e43d9fe053ce8d87acbf9fb89058b811.tar
nixpkgs-ab602aa6e43d9fe053ce8d87acbf9fb89058b811.tar.gz
nixpkgs-ab602aa6e43d9fe053ce8d87acbf9fb89058b811.tar.bz2
nixpkgs-ab602aa6e43d9fe053ce8d87acbf9fb89058b811.tar.lz
nixpkgs-ab602aa6e43d9fe053ce8d87acbf9fb89058b811.tar.xz
nixpkgs-ab602aa6e43d9fe053ce8d87acbf9fb89058b811.tar.zst
nixpkgs-ab602aa6e43d9fe053ce8d87acbf9fb89058b811.zip
sacc: init at 1.01
Diffstat (limited to 'pkgs/applications/networking/gopher')
-rw-r--r--pkgs/applications/networking/gopher/sacc/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/networking/gopher/sacc/default.nix b/pkgs/applications/networking/gopher/sacc/default.nix
new file mode 100644
index 00000000000..71726056a55
--- /dev/null
+++ b/pkgs/applications/networking/gopher/sacc/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchgit, ncurses
+, patches ? [] # allow users to easily override config.def.h
+}:
+
+stdenv.mkDerivation rec {
+  pname = "sacc";
+  version = "1.01";
+
+  src = fetchgit {
+    url = "git://bitreich.org/sacc";
+    rev = version;
+    sha256 = "0n6ghbi715m7hrxzqggx1bpqj8h7569s72b9bzk6m4gd29jaq9hz";
+  };
+
+  inherit patches;
+
+  buildInputs = [ ncurses ];
+
+  postPatch = ''
+    substituteInPlace config.mk \
+      --replace curses ncurses \
+      --replace "/usr/local" "$out"
+    '';
+
+  meta = with stdenv.lib; {
+    description = "A terminal gopher client";
+    homepage = "gopher://bitreich.org/1/scm/sacc";
+    license = licenses.isc;
+    maintainers = [ maintainers.sternenseemann ];
+    platforms = platforms.unix;
+  };
+}