iroh-ssh: init at 0.2.9 (#488529)
This commit is contained in:
@@ -15796,6 +15796,12 @@
|
||||
githubId = 84395723;
|
||||
name = "Lukas Wurzinger";
|
||||
};
|
||||
luke = {
|
||||
email = "luke@maraud.earth";
|
||||
github = "LukeDSchenk";
|
||||
githubId = 41804945;
|
||||
name = "Luke Schenk";
|
||||
};
|
||||
lukebfox = {
|
||||
email = "lbentley-fox1@sheffield.ac.uk";
|
||||
github = "lukebfox";
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
writableTmpDirAsHomeHook,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "iroh-ssh";
|
||||
version = "0.2.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rustonbsd";
|
||||
repo = "iroh-ssh";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-0G2RZbxyxi96FpVPEamfcTrOgPxpFYHmyYg1kQfo7TQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-2/hc1K6zUyQlWorZh34HP9PCdV4YD1ob9l1DFiW7c1Y=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
versionCheckProgram = "${placeholder "out"}/bin/iroh-ssh";
|
||||
versionCheckProgramArg = "version";
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "SSH to any machine without IP";
|
||||
homepage = "https://github.com/rustonbsd/iroh-ssh";
|
||||
maintainers = with lib.maintainers; [
|
||||
luke
|
||||
rvdp
|
||||
];
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "iroh-ssh";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user