Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 37 lines 817 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, openssl }: 2 3stdenv.mkDerivation rec { 4 pname = "httperf"; 5 version = "0.9.1"; 6 7 src = fetchFromGitHub { 8 repo = pname; 9 owner = pname; 10 rev = "3209c7f9b15069d4b79079e03bafba5b444569ff"; 11 sha256 = "0p48z9bcpdjq3nsarl26f0xbxmqgw42k5qmfy8wv5bcrz6b3na42"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 propagatedBuildInputs = [ openssl ]; 16 17 configurePhase = '' 18 autoreconf -i 19 mkdir -pv build 20 cd build 21 ../configure 22 ''; 23 24 installPhase = '' 25 mkdir -vp $out/bin 26 mv -v src/httperf $out/bin 27 ''; 28 29 meta = with lib; { 30 description = "The httperf HTTP load generator"; 31 homepage = "https://github.com/httperf/httperf"; 32 maintainers = with maintainers; [ ]; 33 license = licenses.gpl2; 34 platforms = platforms.all; 35 }; 36 37}