nixpkgs/pkgs/tools/networking/weighttp/default.nix

24 lines
611 B
Nix
Raw Normal View History

{ lib, stdenv, fetchgit, python2, libev, wafHook }:
2021-02-04 12:12:27 +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";
2013-03-29 14:04:59 +00:00
};
nativeBuildInputs = [ wafHook ];
2021-02-04 12:12:27 +00:00
buildInputs = [ python2 libev ];
2021-02-04 12:12:27 +00:00
meta = with lib; {
description = "Lightweight and simple webserver benchmarking tool";
homepage = "https://redmine.lighttpd.net/projects/weighttp/wiki";
2021-02-04 12:12:27 +00:00
platforms = platforms.unix;
license = licenses.mit;
};
2013-03-29 14:04:59 +00:00
}