infiniband-diags: remove

All commands provided by infiniband-diags are already
included in rdma-core, which is required to build infiniband-diags.
gstqt5
Markus Kowalewski 2019-08-09 12:54:15 +02:00
parent 9c22baeeed
commit f873471bfe
No known key found for this signature in database
GPG Key ID: 502A248E3FB4FF48
3 changed files with 1 additions and 46 deletions

View File

@ -1,44 +0,0 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, rdma-core
, opensm, perl, makeWrapper }:
stdenv.mkDerivation rec {
name = "infiniband-diags-${version}";
version = "2.2.0";
src = fetchFromGitHub {
owner = "linux-rdma";
repo = "infiniband-diags";
rev = version;
sha256 = "0dhidwscvv8rffgjl6ygrz7daf61wbgabzhb6v8wh5kccml90mxi";
};
nativeBuildInputs = [ autoconf automake libtool pkgconfig makeWrapper ];
buildInputs = [ rdma-core opensm perl ];
preConfigure = ''
export CFLAGS="-I${opensm}/include/infiniband"
./autogen.sh
'';
configureFlags = [ "--with-perl-installdir=\${out}/${perl.libPrefix}" "--sbindir=\${out}/bin" ];
postInstall = ''
rmdir $out/var/run $out/var
'';
postFixup = ''
for pls in $out/bin/{ibfindnodesusing.pl,ibidsverify.pl}; do
echo "wrapping $pls"
wrapProgram $pls --prefix PERL5LIB : "$out/${perl.libPrefix}"
done
'';
meta = with stdenv.lib; {
description = "Utilities designed to help configure, debug, and maintain infiniband fabrics";
homepage = http://linux-rdma.org/;
license = licenses.bsd2; # Or GPL 2
maintainers = [ maintainers.aij ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -149,6 +149,7 @@ mapAliases ({
htmlTidy = html-tidy; # added 2014-12-06
iana_etc = iana-etc; # added 2017-03-08
idea = jetbrains; # added 2017-04-03
infiniband-diags = rdma-core; # added 2019-08-09
inotifyTools = inotify-tools;
jbuilder = dune; # added 2018-09-09
joseki = apache-jena-fuseki; # added 2016-02-28

View File

@ -3874,8 +3874,6 @@ in
inetutils = callPackage ../tools/networking/inetutils { };
infiniband-diags = callPackage ../tools/networking/infiniband-diags { };
inform7 = callPackage ../development/compilers/inform7 { };
infamousPlugins = callPackage ../applications/audio/infamousPlugins { };