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