Files
nixpkgs/pkgs/by-name/ht/httperf/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
888 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
openssl,
}:
stdenv.mkDerivation {
pname = "httperf";
version = "0.9.1";
src = fetchFromGitHub {
repo = "httperf";
owner = "httperf";
rev = "3209c7f9b15069d4b79079e03bafba5b444569ff";
sha256 = "0p48z9bcpdjq3nsarl26f0xbxmqgw42k5qmfy8wv5bcrz6b3na42";
};
nativeBuildInputs = [ autoreconfHook ];
propagatedBuildInputs = [ openssl ];
configurePhase = ''
runHook preConfigure
autoreconf -i
mkdir -pv build
cd build
../configure
runHook postConfigure
'';
installPhase = ''
mkdir -vp $out/bin
mv -v src/httperf $out/bin
'';
meta = with lib; {
description = "HTTP load generator";
homepage = "https://github.com/httperf/httperf";
maintainers = [ ];
license = licenses.gpl2Plus;
platforms = platforms.all;
mainProgram = "httperf";
};
}