nixpkgs-suyu/pkgs/development/libraries/ucx/default.nix

38 lines
867 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, doxygen
2020-02-20 13:59:21 +01:00
, numactl, rdma-core, libbfd, libiberty, perl, zlib
}:
2021-05-05 22:17:00 +02:00
stdenv.mkDerivation rec {
pname = "ucx";
2021-05-19 14:36:06 +02:00
version = "1.10.1";
2020-02-20 13:59:21 +01:00
src = fetchFromGitHub {
owner = "openucx";
repo = "ucx";
rev = "v${version}";
2021-05-19 14:36:06 +02:00
sha256 = "1jl7wrmcpf6lakpi1gvjcs18cy0mmwgsv5wdd80zyl41cpd8gm8d";
2020-02-20 13:59:21 +01:00
};
nativeBuildInputs = [ autoreconfHook doxygen ];
buildInputs = [ numactl rdma-core libbfd libiberty perl zlib ];
configureFlags = [
"--with-rdmacm=${rdma-core}"
"--with-dc"
"--with-rc"
"--with-dm"
"--with-verbs=${rdma-core}"
];
enableParallelBuilding = true;
meta = with lib; {
2020-02-20 13:59:21 +01:00
description = "Unified Communication X library";
homepage = "http://www.openucx.org";
2020-02-20 13:59:21 +01:00
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = [ maintainers.markuskowa ];
};
}