Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usbip-ssh: init at 1.0 #374864

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11685,6 +11685,12 @@
githubId = 44864956;
keys = [ { fingerprint = "3F87 0A7C A7B4 3731 2F13 6083 749F D4DF A2E9 4236"; } ];
};
kagehisa = {
name = "Sven Woelfel";
email = "[email protected]";
github = "kagehisa";
githubId = 37015428;
};
kaiha = {
email = "[email protected]";
github = "KaiHa";
Expand Down
39 changes: 39 additions & 0 deletions pkgs/by-name/us/usbip-ssh/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
stdenv,
lib,
fetchFromGitHub,
perl,
openssh,
}:

stdenv.mkDerivation rec {
kagehisa marked this conversation as resolved.
Show resolved Hide resolved
pname = "usbip-ssh";
version = "0-unstable-2024-10-09";

src = fetchFromGitHub {
owner = "turistu";
repo = "usbip-ssh";
rev = "1b38f2d7854048bf6129ffe992f3c9caa630e377";
hash = "sha256-3kGGMlIMTXnBVLgsZijc0yLbyaZZSDf7lr46mg0viWw=";
};

buildInputs = [
perl
openssh
];

installPhase = ''
runHook preInstall
install -Dm755 usbip-ssh -t $out/bin
runHook postInstall
'';

meta = {
homepage = "https://github.com/turistu/usbip-ssh";
description = "Import usb devices from another linux machine with ssh's connection forwarding mechanism";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ kagehisa ];
mainProgram = "usbip-ssh";
platforms = lib.platforms.linux;
};
}