Unverified Commit d0110028 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

sshocker: 0.3.4 -> 0.3.5 (#364442)

parents 796ad89c 975b05b7
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -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";
  };
}