nixpkgs/pkgs/tools/networking/httperf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
846 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl }:
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
'';
meta = with lib; {
description = "The httperf HTTP load generator";
homepage = "https://github.com/httperf/httperf";
maintainers = with maintainers; [ ];
license = licenses.gpl2;
2021-03-18 15:23:20 +00:00
platforms = platforms.all;
2024-02-11 02:19:15 +00:00
mainProgram = "httperf";
};
}