depot/third_party/nixpkgs/pkgs/tools/networking/weighttp/default.nix
Default email 4cb23072fc Project import generated by Copybara.
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
2022-01-20 00:45:15 +01:00

23 lines
611 B
Nix

{ lib, stdenv, fetchgit, python2, libev, wafHook }:
stdenv.mkDerivation rec {
pname = "weighttp";
version = "0.4";
src = fetchgit {
url = "https://git.lighttpd.net/weighttp.git";
rev = "refs/tags/weighttp-${version}";
sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr";
};
nativeBuildInputs = [ wafHook ];
buildInputs = [ python2 libev ];
meta = with lib; {
description = "Lightweight and simple webserver benchmarking tool";
homepage = "https://redmine.lighttpd.net/projects/weighttp/wiki";
platforms = platforms.unix;
license = licenses.mit;
};
}