2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchgit, python, libev, wafHook }:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ python libev ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Lightweight and simple webserver benchmarking tool";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://redmine.lighttpd.net/projects/weighttp/wiki";
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|