iroh-ssh: init at 0.2.8
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
autoAddDriverRunpath,
|
||||
installShellFiles,
|
||||
writableTmpDirAsHomeHook,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "iroh-ssh";
|
||||
version = "0.2.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rustonbsd";
|
||||
repo = "iroh-ssh";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-jKJ0dathwsFif2N/X4CnMAG74h0h/5hnuWWwbJrbU18=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-KZu4HA5E9R4sdBW5cdhyA5E2bo2YN2TPSKDlJuzDGnU=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoAddDriverRunpath
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
versionCheckProgram = "${placeholder "out"}/bin/iroh-ssh";
|
||||
versionCheckProgramArg = "version";
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "ssh without ip";
|
||||
homepage = "https://github.com/rustonbsd/iroh-ssh";
|
||||
maintainers = "LukeDSchenk";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "iroh-ssh";
|
||||
};
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user