1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/tools/networking/weighttp/default.nix
2013-03-29 15:04:59 +01:00

16 lines
400 B
Nix

{ 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
'';
}