diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2020-08-05 20:02:17 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 20:02:17 -0300 |
commit | 1506ebb148b3c39bace1f664c305e0b41db63280 (patch) | |
tree | db295d880cdac6e92e9f9bb2e2d85998a14ef0a1 /pkgs/applications | |
parent | f9f48250fe1657f288a88c8ef519576a7b12a31b (diff) | |
parent | ab602aa6e43d9fe053ce8d87acbf9fb89058b811 (diff) | |
download | nixpkgs-1506ebb148b3c39bace1f664c305e0b41db63280.tar nixpkgs-1506ebb148b3c39bace1f664c305e0b41db63280.tar.gz nixpkgs-1506ebb148b3c39bace1f664c305e0b41db63280.tar.bz2 nixpkgs-1506ebb148b3c39bace1f664c305e0b41db63280.tar.lz nixpkgs-1506ebb148b3c39bace1f664c305e0b41db63280.tar.xz nixpkgs-1506ebb148b3c39bace1f664c305e0b41db63280.tar.zst nixpkgs-1506ebb148b3c39bace1f664c305e0b41db63280.zip |
Merge pull request #93676 from sternenseemann/sacc
sacc: init at 1.01
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/gopher/sacc/default.nix | 32 |
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; + }; +} |