diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2013-03-29 15:04:59 +0100 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2013-03-29 15:04:59 +0100 |
commit | 2fa4e36946d5013663c01f8652be7bfc22efe777 (patch) | |
tree | 69bf2f8a56a76fc474272622f7eac09c493b1ae5 /pkgs/tools/networking/weighttp/default.nix | |
parent | 67962402894538a7ae50ee70502461d1a3e9a8d4 (diff) | |
download | nixlib-2fa4e36946d5013663c01f8652be7bfc22efe777.tar nixlib-2fa4e36946d5013663c01f8652be7bfc22efe777.tar.gz nixlib-2fa4e36946d5013663c01f8652be7bfc22efe777.tar.bz2 nixlib-2fa4e36946d5013663c01f8652be7bfc22efe777.tar.lz nixlib-2fa4e36946d5013663c01f8652be7bfc22efe777.tar.xz nixlib-2fa4e36946d5013663c01f8652be7bfc22efe777.tar.zst nixlib-2fa4e36946d5013663c01f8652be7bfc22efe777.zip |
Add weighttp 0.3
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 000000000000..3bf23275a180 --- /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 + ''; +} |