rshim-user-space: init at 2.0.7
This commit is contained in:
parent
a8eea70935
commit
93c026494a
2 changed files with 62 additions and 0 deletions
60
pkgs/tools/misc/rshim-user-space/default.nix
Normal file
60
pkgs/tools/misc/rshim-user-space/default.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, autoconf
|
||||
, automake
|
||||
, pkg-config
|
||||
, pciutils
|
||||
, libusb1
|
||||
, fuse
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rshim-user-space";
|
||||
version = "2.0.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mellanox";
|
||||
repo = pname;
|
||||
rev = "rshim-${version}";
|
||||
hash = "sha256-Dyc16UrRxbC9jRNVZ/sCgidY2hSIX0PrWmHf68x07nE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
autoconf
|
||||
automake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pciutils
|
||||
libusb1
|
||||
fuse
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
preConfigure = "./bootstrap.sh";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/bin
|
||||
cp -a src/rshim "$out"/bin/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "user-space rshim driver for the BlueField SoC";
|
||||
longDescription = ''
|
||||
The rshim driver provides a way to access the rshim resources on the
|
||||
BlueField target from external host machine. The current version
|
||||
implements device files for boot image push and virtual console access.
|
||||
It also creates virtual network interface to connect to the BlueField
|
||||
target and provides a way to access the internal rshim registers.
|
||||
'';
|
||||
homepage = "https://github.com/Mellanox/rshim-user-space";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ nikstur ];
|
||||
};
|
||||
}
|
|
@ -11919,6 +11919,8 @@ with pkgs;
|
|||
|
||||
rshijack = callPackage ../tools/networking/rshijack { };
|
||||
|
||||
rshim-user-space = callPackage ../tools/misc/rshim-user-space { };
|
||||
|
||||
rsibreak = libsForQt5.callPackage ../applications/misc/rsibreak { };
|
||||
|
||||
rslint = callPackage ../development/tools/rslint { };
|
||||
|
|
Loading…
Reference in a new issue