summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/w3m/default.nix
blob: 3a8b60950db6d9b945fd574d6f797e65a5bcc2cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ stdenv, fetchurl, ncurses
, sslSupport ? true, openssl ? null, boehmgc, gettext
}:

assert sslSupport -> openssl != null;

stdenv.mkDerivation {
  name = "w3m-0.5.1";
  builder = ./builder.sh;
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/w3m-0.5.1.tar.gz;
    md5 = "0678b72e07e69c41709d71ef0fe5da13";
  };
  inherit openssl boehmgc;
  buildInputs = [ncurses (if sslSupport then openssl else null) boehmgc gettext];
  patches = [./bsd.patch];
}