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

38 lines
867 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, doxygen
2020-02-20 12:59:21 +00:00
, numactl, rdma-core, libbfd, libiberty, perl, zlib
}:
2021-05-05 21:17:00 +01:00
stdenv.mkDerivation rec {
pname = "ucx";
2021-10-04 21:27:39 +01:00
version = "1.11.2";
2020-02-20 12:59:21 +00:00
src = fetchFromGitHub {
owner = "openucx";
repo = "ucx";
rev = "v${version}";
2021-10-04 21:27:39 +01:00
sha256 = "0a4rbgr3hn3h42krb7lasfidhqcavacbpp1pv66l4lvfc0gkwi2i";
2020-02-20 12:59:21 +00: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 12:59:21 +00:00
description = "Unified Communication X library";
homepage = "http://www.openucx.org";
2020-02-20 12:59:21 +00:00
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = [ maintainers.markuskowa ];
};
}