diff options
author | Fernando José Pando <nand0p@users.noreply.github.com> | 2018-07-29 12:41:15 -0400 |
---|---|---|
committer | Ryan Mulligan <ryan@ryantm.com> | 2018-07-29 09:41:15 -0700 |
commit | 285d7709494fdba72299a61b05f9becd76bc3519 (patch) | |
tree | 26541217e64b14b408513e2415e88f5f223d615b /pkgs/tools/networking | |
parent | a0bd1a8c5bb2c3eef4724920f70476c43b5a0bae (diff) | |
download | nixlib-285d7709494fdba72299a61b05f9becd76bc3519.tar nixlib-285d7709494fdba72299a61b05f9becd76bc3519.tar.gz nixlib-285d7709494fdba72299a61b05f9becd76bc3519.tar.bz2 nixlib-285d7709494fdba72299a61b05f9becd76bc3519.tar.lz nixlib-285d7709494fdba72299a61b05f9becd76bc3519.tar.xz nixlib-285d7709494fdba72299a61b05f9becd76bc3519.tar.zst nixlib-285d7709494fdba72299a61b05f9becd76bc3519.zip |
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
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/httperf/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/tools/networking/httperf/default.nix b/pkgs/tools/networking/httperf/default.nix new file mode 100644 index 000000000000..fa8bbb91c5be --- /dev/null +++ b/pkgs/tools/networking/httperf/default.nix @@ -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; + }; + +} |