nixpkgs/pkgs/tools/networking/weighttp/default.nix
Renzo Carbonara 8859fd948a
weighttp: 0.3 -> 0.4
cgit doesn't generate stable archives, so the SHA changed when there
was a commit earlier this year. Using fetchgit in hopes of stabilizing
the checked out sha.
2016-07-21 08:26:39 -05:00

19 lines
445 B
Nix

{ stdenv, fetchgit, python, libev}:
stdenv.mkDerivation rec {
name = "weighttp-${version}";
version = "0.4";
src = fetchgit {
url = https://git.lighttpd.net/weighttp.git;
rev = "refs/tags/weighttp-${version}";
sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr";
};
buildInputs = [ python libev ];
installPhase = ''
python waf configure --prefix=$out
python waf build
python waf install
'';
}