rdma-core: init at 16.1
This commit is contained in:
parent
db56407a97
commit
c6b828b86e
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, gfortran, perl, libibverbs
|
{stdenv, fetchurl, gfortran, perl, rdma-core
|
||||||
|
|
||||||
# Enable the Sun Grid Engine bindings
|
# Enable the Sun Grid Engine bindings
|
||||||
, enableSGE ? false
|
, enableSGE ? false
|
||||||
|
@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ gfortran ]
|
buildInputs = [ gfortran ]
|
||||||
++ optional (stdenv.isLinux || stdenv.isFreeBSD) libibverbs;
|
++ optional (stdenv.isLinux || stdenv.isFreeBSD) rdma-core;
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
||||||
|
, ethtool, libnl, libudev, python, perl
|
||||||
|
} :
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "16.1";
|
||||||
|
|
||||||
|
in stdenv.mkDerivation {
|
||||||
|
name = "rdma-core-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "linux-rdma";
|
||||||
|
repo = "rdma-core";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1fixw6hpf732vzlpczx0b2y84jrhgfjr3cljqxky7makzgh2s7ng";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
buildInputs = [ libnl ethtool libudev python perl ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
substituteInPlace $out/bin/rxe_cfg --replace ethtool "${ethtool}/bin/ethtool"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "RDMA Core Userspace Libraries and Daemons";
|
||||||
|
homepage = https://github.com/linux-rdma/rdma-core;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ markuskowa ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -4321,6 +4321,8 @@ with pkgs;
|
||||||
|
|
||||||
rc = callPackage ../shells/rc { };
|
rc = callPackage ../shells/rc { };
|
||||||
|
|
||||||
|
rdma-core = callPackage ../os-specific/linux/rdma-core { };
|
||||||
|
|
||||||
read-edid = callPackage ../os-specific/linux/read-edid { };
|
read-edid = callPackage ../os-specific/linux/read-edid { };
|
||||||
|
|
||||||
redir = callPackage ../tools/networking/redir { };
|
redir = callPackage ../tools/networking/redir { };
|
||||||
|
|
Loading…
Reference in New Issue