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

40 lines
882 B
Nix
Raw Normal View History

2020-02-20 13:59:21 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, doxygen
, numactl, rdma-core, libbfd, libiberty, perl, zlib
}:
let
2020-07-16 17:33:39 +02:00
version = "1.8.1";
2020-02-20 13:59:21 +01:00
in stdenv.mkDerivation {
name = "ucx-${version}";
src = fetchFromGitHub {
owner = "openucx";
repo = "ucx";
rev = "v${version}";
2020-07-16 17:33:39 +02:00
sha256 = "0yfnx4shgydkp447kipavjzgl6z58jan6l7znhdi8ry4zbgk568a";
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 stdenv.lib; {
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 ];
};
}