summary refs log tree commit diff
path: root/pkgs/applications/networking/gopher/gopher/default.nix
blob: 4e57163864427f87c4ac9d0bf9532771277c777d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, ncurses }:

stdenv.mkDerivation rec {
  pname = "gopher";
  version = "3.0.17";

  src = fetchFromGitHub {
    owner = "jgoerzen";
    repo = pname;
    rev = "release/${version}";
    sha256 = "1j6xh5l8v231d4mwl9gj1c34dc0jmazz6zg1qqfxmqr9y609jq3h";
  };

  buildInputs = [ ncurses ];

  preConfigure = "export LIBS=-lncurses";

  meta = with stdenv.lib; {
    homepage = "http://gopher.quux.org:70/devel/gopher";
    description = "A ncurses gopher client";
    platforms = platforms.linux; # clang doesn't like local regex.h
    license = licenses.gpl2;
    maintainers = with maintainers; [ sternenseemann ];
  };
}