Add weighttp 0.3
This commit is contained in:
parent
6796240289
commit
2fa4e36946
|
@ -0,0 +1,15 @@
|
|||
{ stdenv, fetchurl, python, libev}:
|
||||
stdenv.mkDerivation {
|
||||
name = "weighttp-0.3";
|
||||
src = fetchurl {
|
||||
url = http://cgit.lighttpd.net/weighttp.git/snapshot/weighttp-0.3.tar.gz;
|
||||
sha256 = "0gl83vnip3nj7fdgbwqkmrx7kxp51sri9jfiwd04q9iz8f9bsmz5";
|
||||
};
|
||||
|
||||
buildInputs = [ python libev ];
|
||||
installPhase = ''
|
||||
python waf configure --prefix=$out
|
||||
python waf build
|
||||
python waf install
|
||||
'';
|
||||
}
|
|
@ -1806,6 +1806,8 @@ let
|
|||
libxml2 geoip;
|
||||
};
|
||||
|
||||
weighttp = callPackage ../tools/networking/weighttp { };
|
||||
|
||||
wget = callPackage ../tools/networking/wget {
|
||||
inherit (perlPackages) LWP;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue