Merge pull request #34355 from volth/xnbd

xnbd: init at 0.4.0
This commit is contained in:
Joachim F 2018-03-18 12:50:30 +00:00 committed by GitHub
commit b5cc32eff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, glib, jansson }:
stdenv.mkDerivation rec {
name = "xnbd-0.4.0";
src = fetchurl {
url = "https://bitbucket.org/hirofuchi/xnbd/downloads/${name}.tgz";
sha256 = "00wkvsa0yaq4mabczcbfpj6rjvp02yahw8vdrq8hgb3wpm80x913";
};
sourceRoot = "${name}/trunk";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib jansson ];
# do not build docs, it is slow and it fails on Hydra
prePatch = ''
rm -rf doc
substituteInPlace configure.ac --replace "doc/Makefile" ""
substituteInPlace Makefile.am --replace "lib doc ." "lib ."
'';
meta = {
homepage = https://bitbucket.org/hirofuchi/xnbd;
description = "Yet another NBD (Network Block Device) server program";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.volth ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -3756,6 +3756,7 @@ with pkgs;
nawk = callPackage ../tools/text/nawk { };
nbd = callPackage ../tools/networking/nbd { };
xnbd = callPackage ../tools/networking/xnbd { };
inherit (callPackages ../development/libraries/science/math/nccl { })
nccl_cudatoolkit8