2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl }:
|
2020-04-24 23:36:52 +00: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-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Httperf HTTP load generator";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/httperf/httperf";
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2021-03-19 17:17:44 +00:00
|
|
|
platforms = platforms.all;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "httperf";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|