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

40 lines
880 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
}:
let
2020-11-29 15:59:54 +00:00
version = "1.9.0";
2020-02-20 12:59:21 +00:00
in stdenv.mkDerivation {
name = "ucx-${version}";
src = fetchFromGitHub {
owner = "openucx";
repo = "ucx";
rev = "v${version}";
2020-11-29 15:59:54 +00:00
sha256 = "0i0ji5ivzxjqh3ys1m517ghw3am7cw1hvf40ma7hsq3wznsyx5s1";
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 ];
};
}