2022-01-12 02:40:02 +03:00
|
|
|
{ lib, stdenv, fetchgit, python2, libev, wafHook }:
|
2021-02-04 15:12:27 +03:00
|
|
|
|
2016-07-21 02:21:47 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "weighttp";
|
2016-07-21 02:21:47 +03:00
|
|
|
version = "0.4";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2020-04-01 04:11:51 +03:00
|
|
|
url = "https://git.lighttpd.net/weighttp.git";
|
2016-07-21 02:21:47 +03:00
|
|
|
rev = "refs/tags/weighttp-${version}";
|
|
|
|
sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr";
|
2013-03-29 18:04:59 +04:00
|
|
|
};
|
|
|
|
|
2018-11-12 00:20:41 +03:00
|
|
|
nativeBuildInputs = [ wafHook ];
|
2021-02-04 15:12:27 +03:00
|
|
|
|
2022-01-12 02:40:02 +03:00
|
|
|
buildInputs = [ python2 libev ];
|
2016-08-02 19:06:29 +03:00
|
|
|
|
2021-02-04 15:12:27 +03:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Lightweight and simple webserver benchmarking tool";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://redmine.lighttpd.net/projects/weighttp/wiki";
|
2021-02-04 15:12:27 +03:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.mit;
|
2016-08-02 19:06:29 +03:00
|
|
|
};
|
2013-03-29 18:04:59 +04:00
|
|
|
}
|