about summary refs log tree commit diff
path: root/pkgs/tools/networking/weighttp/default.nix
diff options
context:
space:
mode:
authorRob Vermaas <rob.vermaas@gmail.com>2013-03-29 15:04:59 +0100
committerRob Vermaas <rob.vermaas@gmail.com>2013-03-29 15:04:59 +0100
commit2fa4e36946d5013663c01f8652be7bfc22efe777 (patch)
tree69bf2f8a56a76fc474272622f7eac09c493b1ae5 /pkgs/tools/networking/weighttp/default.nix
parent67962402894538a7ae50ee70502461d1a3e9a8d4 (diff)
downloadnixlib-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.nix15
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
+  '';
+}