2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl }:
|
2018-07-29 18:41:15 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "httperf";
|
|
|
|
version = "0.9.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = pname;
|
|
|
|
owner = pname;
|
|
|
|
rev = "3209c7f9b15069d4b79079e03bafba5b444569ff";
|
|
|
|
sha256 = "0p48z9bcpdjq3nsarl26f0xbxmqgw42k5qmfy8wv5bcrz6b3na42";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
propagatedBuildInputs = [ openssl ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
autoreconf -i
|
|
|
|
mkdir -pv build
|
|
|
|
cd build
|
|
|
|
../configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -vp $out/bin
|
|
|
|
mv -v src/httperf $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-07-29 18:41:15 +02:00
|
|
|
description = "The httperf HTTP load generator";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/httperf/httperf";
|
2018-07-29 18:41:15 +02:00
|
|
|
maintainers = with maintainers; [ nand0p ];
|
|
|
|
license = licenses.gpl2;
|
2021-03-18 16:23:20 +01:00
|
|
|
platforms = platforms.all;
|
2018-07-29 18:41:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|