3
0
Fork 0
forked from mirrors/nixpkgs

httperf: init at 0.9.1

* httperf: init at 0.9.1

- tested on nixos

* httperf: 0.9.1 add ssl support

* httperf: 0.9.1 default-build-phase

* httperf: 0.9.1 fix pname
This commit is contained in:
Fernando José Pando 2018-07-29 12:41:15 -04:00 committed by Ryan Mulligan
parent a0bd1a8c5b
commit 285d770949
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, autoreconfHook, openssl }:
stdenv.mkDerivation rec {
pname = "httperf";
name = "${pname}-${version}";
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 stdenv.lib; {
description = "The httperf HTTP load generator";
homepage = https://github.com/httperf/httperf;
maintainers = with maintainers; [ nand0p ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}

View file

@ -678,6 +678,8 @@ with pkgs;
glyr = callPackage ../tools/audio/glyr { };
httperf = callPackage ../tools/networking/httperf { };
imgpatchtools = callPackage ../development/mobile/imgpatchtools { };
lastpass-cli = callPackage ../tools/security/lastpass-cli { };