mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
sshocker: init at 0.3.2
This commit is contained in:
parent
fe2ecaf706
commit
79e27b6975
2 changed files with 34 additions and 0 deletions
32
pkgs/tools/security/sshocker/default.nix
Normal file
32
pkgs/tools/security/sshocker/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "sshocker";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lima-vm";
|
||||
repo = "sshocker";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-u/H9X0YbjVFK8IMUmL6OdarP/ojqXjZAHI+k61Ja++w=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-WcPKMF8KNx7zlsdTnFf8vnW/uZZL1F4JWqMK7+qmyCk=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=github.com/lima-vm/sshocker/pkg/version.Version=${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for SSH, reverse sshfs and port forwarder";
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -12486,6 +12486,8 @@ with pkgs;
|
|||
|
||||
sslmate-agent = callPackage ../development/tools/sslmate-agent { };
|
||||
|
||||
sshocker = callPackage ../tools/security/sshocker { };
|
||||
|
||||
sshoogr = callPackage ../tools/networking/sshoogr { };
|
||||
|
||||
ssocr = callPackage ../applications/misc/ssocr { };
|
||||
|
|
Loading…
Reference in a new issue