1 { lib, stdenv, fetchFromGitHub, autoreconfHook, doxygen
3 , enableTest ? false }:
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "sha256-VvxL/bcn69uL7CBpDu4qwbKZwlC4N/kNeRX4k3UzxPI=";
16 nativeBuildInputs = [ autoreconfHook doxygen ];
18 configureFlags = [ "--enable-doc" ]
19 ++ lib.optional enableTest "--enable-test"
20 ++ lib.optional enableTool "--enable-tool";
25 broken = stdenv.hostPlatform.isDarwin;
26 description = "Network Benchmarking Utility";
27 homepage = "https://github.com/Mellanox/sockperf";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ emilytrau ];
30 platforms = platforms.all;
31 mainProgram = "sockperf";