nixpkgs/pkgs/servers/polipo/default.nix

22 lines
629 B
Nix
Raw Normal View History

{ stdenv, fetchurl, texinfo }:
stdenv.mkDerivation rec {
name = "polipo-${version}";
2013-12-04 01:41:12 +00:00
version = "1.0.4.1";
src = fetchurl {
url = "http://freehaven.net/~chrisd/polipo/${name}.tar.gz";
2013-12-04 01:41:12 +00:00
sha256 = "1ykwkyvmdw6fsaj2hc40971pkwf60hvi9c43whijim00qvgbyvwd";
};
buildInputs = [ texinfo ];
makeFlags = [ "PREFIX=$(out)" "LOCAL_ROOT=$(out)/share/polipo/www" ];
meta = with stdenv.lib; {
homepage = http://www.pps.jussieu.fr/~jch/software/polipo/;
description = "A small and fast caching web proxy";
license = licenses.mit;
maintainers = [ maintainers.phreedom ];
platforms = platforms.all;
};
}