rdma-core: init at 16.1

This commit is contained in:
Markus Kowalewski 2018-01-20 15:09:14 -08:00
parent db56407a97
commit c6b828b86e
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB
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

@ -4321,6 +4321,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 { };