sshocker: 0.3.4 -> 0.3.5 (#364442)

This commit is contained in:
Fabian Affolter 2024-12-12 17:47:20 +01:00 committed by GitHub
commit d011002802
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,20 +2,23 @@
lib,
buildGoModule,
fetchFromGitHub,
versionCheckHook,
}:
buildGoModule rec {
pname = "sshocker";
version = "0.3.4";
version = "0.3.5";
src = fetchFromGitHub {
owner = "lima-vm";
repo = "sshocker";
rev = "refs/tags/v${version}";
hash = "sha256-IDbGRQSLQlT4lt2bextGYB4fJfbpLhPx3JF1eYDJ6gw=";
hash = "sha256-Q+g48Mm3JsFz9zTsFFypgp7RtQL/03EbVGAwnXLE8fA=";
};
vendorHash = "sha256-kee5D80RjCVosts/Jd6WuvtiK/J5+79HsM5ITHs15xc=";
vendorHash = "sha256-D4TJ8bIahv05cE6gvF6LmcU2RzV2krjtU8t8wD6R/lY=";
nativeInstallCheckInputs = [ versionCheckHook ];
ldflags = [
"-s"
@ -23,12 +26,16 @@ buildGoModule rec {
"-X=github.com/lima-vm/sshocker/pkg/version.Version=${version}"
];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
meta = with lib; {
description = "Tool for SSH, reverse sshfs and port forwarder";
mainProgram = "sshocker";
homepage = "https://github.com/lima-vm/sshocker";
changelog = "https://github.com/lima-vm/sshocker/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "sshocker";
};
}