diff options
Diffstat (limited to 'pkgs/tools/networking/weighttp/default.nix')
-rw-r--r-- | pkgs/tools/networking/weighttp/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/tools/networking/weighttp/default.nix b/pkgs/tools/networking/weighttp/default.nix new file mode 100644 index 0000000000000..3bf23275a180e --- /dev/null +++ b/pkgs/tools/networking/weighttp/default.nix @@ -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 + ''; +} |