lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 35 lines 830 B view raw
1{ lib, stdenv, fetchurl, ncurses, libressl 2, patches ? [] # allow users to easily override config.def.h 3}: 4 5stdenv.mkDerivation rec { 6 pname = "sacc"; 7 version = "1.07"; 8 9 src = fetchurl { 10 url = "ftp://bitreich.org/releases/sacc/sacc-${version}.tar.gz"; 11 hash = "sha256-LdEeZH+JWb7iEEzikAXaxG0N5GMPxjgTId4THLgdU2w="; 12 }; 13 14 inherit patches; 15 16 buildInputs = [ ncurses libressl ]; 17 18 CFLAGS = lib.optionals stdenv.isDarwin [ 19 "-D_DARWIN_C_SOURCE" 20 ]; 21 22 postPatch = '' 23 substituteInPlace config.mk \ 24 --replace curses ncurses \ 25 --replace "/usr/local" "$out" 26 ''; 27 28 meta = with lib; { 29 description = "A terminal gopher client"; 30 homepage = "gopher://bitreich.org/1/scm/sacc"; 31 license = licenses.isc; 32 maintainers = [ maintainers.sternenseemann ]; 33 platforms = platforms.unix; 34 }; 35}