nixpkgs/pkgs/servers/polipo/default.nix

22 lines
667 B
Nix
Raw Normal View History

{ stdenv, fetchurl, texinfo }:
2014-07-15 15:07:25 +01:00
stdenv.mkDerivation rec {
name = "polipo-${version}";
2014-07-15 15:07:25 +01:00
version = "1.1.1";
src = fetchurl {
2014-07-15 15:07:25 +01:00
url = "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/${name}.tar.gz";
sha256 = "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2";
};
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 = with maintainers; [ phreedom ehmry ];
platforms = platforms.all;
};
}