mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
d5cceedbd1
Since aliases are disallowed in nixpkgs, this makes usage of Python 2 which is EOL more explicit.
24 lines
611 B
Nix
24 lines
611 B
Nix
{ lib, stdenv, fetchgit, python2, 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 = [ python2 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;
|
|
};
|
|
}
|