2018-11-11 21:20:41 +00:00
|
|
|
{ stdenv, fetchgit, python, libev, wafHook }:
|
2016-07-21 00:21:47 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "weighttp";
|
2016-07-21 00:21:47 +01:00
|
|
|
version = "0.4";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://git.lighttpd.net/weighttp.git;
|
|
|
|
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 ];
|
2013-03-29 14:04:59 +00:00
|
|
|
buildInputs = [ python libev ];
|
2016-08-02 17:06:29 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2019-10-06 05:59:27 +01:00
|
|
|
homepage = https://redmine.lighttpd.net/projects/weighttp/wiki;
|
|
|
|
description = "A lightweight and simple webserver benchmarking tool";
|
2016-08-02 17:06:29 +01:00
|
|
|
};
|
2013-03-29 14:04:59 +00:00
|
|
|
}
|