about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/gopher/gopher/default.nix
blob: 9057fda2e6008fb675ed3569a39e41d9aef0ff16 (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
{stdenv, fetchurl, ncurses}:

stdenv.mkDerivation rec {
  name = "gopher-${version}";
  version = "3.0.11";

  src = fetchurl {
    url = "http://gopher.quux.org:70/devel/gopher/Downloads/gopher_${version}.tar.gz";
    sha256 = "15r7x518wlpfqpd6z0hbdwm8rw8ll8hbpskdqgxxhrmy00aa7w9c";
  };

  buildInputs = [ ncurses ];

  preConfigure = "export LIBS=-lncurses";

  meta = {
    homepage = http://gopher.quux.org:70/devel/gopher;
    description = "A ncurses gopher client";
    platforms = stdenv.lib.platforms.unix;
    license = stdenv.lib.licenses.gpl2;
    maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
  };
}