push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
{
stdenv,
lib,
fetchFromGitHub,
perl,
openssh,
kmod,
makeWrapper,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "usbip-ssh";
version = "0-unstable-2024-10-09";
src = fetchFromGitHub {
owner = "turistu";
repo = "usbip-ssh";
rev = "1b38f2d7854048bf6129ffe992f3c9caa630e377";
hash = "sha256-3kGGMlIMTXnBVLgsZijc0yLbyaZZSDf7lr46mg0viWw=";
};
nativeBuildInputs = [
makeWrapper
];
buildInputs = [
perl
];
installPhase = ''
runHook preInstall
install -Dm755 usbip-ssh -t $out/bin
runHook postInstall
'';
postInstall = ''
wrapProgram $out/bin/usbip-ssh --prefix PATH : ${
lib.makeBinPath [
perl
openssh
kmod
]
}
'';
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;
};
})