1{ stdenv, fetchurl, openssl, zlib, ncurses }:
2
3stdenv.mkDerivation rec {
4 name = "polygraph-4.3.2";
5
6 src = fetchurl {
7 url = "http://www.web-polygraph.org/downloads/srcs/${name}-src.tgz";
8 sha256 = "1fv9jpcicfsgsmghkykqif6l6w7nwvk5xbdmpv72jbrwzx44845h";
9 };
10
11 buildInputs = [ openssl zlib ncurses ];
12
13 patches = [ ./fix_build.patch ];
14
15 meta = with stdenv.lib; {
16 homepage = http://www.web-polygraph.org;
17 description = "Performance testing tool for caching proxies, origin server accelerators, L4/7 switches, content filters, and other Web intermediaries";
18 platforms = platforms.linux;
19 maintainers = [ maintainers.lethalman ];
20 };
21}