summary refs log tree commit diff
path: root/pkgs/tools/networking/weighttp/default.nix
blob: 3bf23275a180ee676cba4f7427833e3860603d5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
  '';
}