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 20:17:00 +00:00
stdenv.mkDerivation rec {
pname = "ucx";
2021-05-19 12:36:06 +00:00
version = "1.10.1";
2020-02-20 12:59:21 +00:00
src = fetchFromGitHub {
owner = "openucx";
repo = "ucx";
rev = "v${version}";
2021-05-19 12:36:06 +00:00
sha256 = "1jl7wrmcpf6lakpi1gvjcs18cy0mmwgsv5wdd80zyl41cpd8gm8d";
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 ];
};
}