depot/third_party/nixpkgs/pkgs/tools/networking/weighttp/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 lines
609 B
Nix

{ lib, stdenv, fetchgit, python, libev, wafHook }:
stdenv.mkDerivation rec {
pname = "weighttp";
version = "0.4";
src = fetchgit {
url = "https://git.lighttpd.net/weighttp.git";
rev = "refs/tags/weighttp-${version}";
sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr";
};
nativeBuildInputs = [ wafHook ];
buildInputs = [ python libev ];
meta = with lib; {
description = "Lightweight and simple webserver benchmarking tool";
homepage = "https://redmine.lighttpd.net/projects/weighttp/wiki";
platforms = platforms.unix;
license = licenses.mit;
};
}