about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/weighttp/default.nix
blob: 7c3d23c0d17fb3f4e9a02c993788fe6df791d7b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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;
  };
}