Merge pull request #34093 from markuskowa/rdma-core-pr

rdma-core: init at 16.1
This commit is contained in:
Sarah Brofeldt 2018-01-27 02:17:10 +01:00 committed by GitHub
commit 7f1c5a124c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, gfortran, perl, libibverbs
{stdenv, fetchurl, gfortran, perl, rdma-core
# Enable the Sun Grid Engine bindings
, enableSGE ? false
@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
};
buildInputs = [ gfortran ]
++ optional (stdenv.isLinux || stdenv.isFreeBSD) libibverbs;
++ optional (stdenv.isLinux || stdenv.isFreeBSD) rdma-core;
nativeBuildInputs = [ perl ];

View file

@ -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 ];
};
}

View file

@ -4327,6 +4327,8 @@ with pkgs;
rc = callPackage ../shells/rc { };
rdma-core = callPackage ../os-specific/linux/rdma-core { };
read-edid = callPackage ../os-specific/linux/read-edid { };
redir = callPackage ../tools/networking/redir { };