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