From b88560c0a6f930df67be368595c3ba2dc2a54a2f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Oct 2021 10:11:24 +0200 Subject: [PATCH] shellz: init at 1.6.0 --- pkgs/tools/security/shellz/default.nix | 30 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/tools/security/shellz/default.nix diff --git a/pkgs/tools/security/shellz/default.nix b/pkgs/tools/security/shellz/default.nix new file mode 100644 index 000000000000..b34986b2f7fb --- /dev/null +++ b/pkgs/tools/security/shellz/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "shellz"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "evilsocket"; + repo = pname; + rev = "v${version}"; + sha256 = "1mhl1y0jkycyl1hgwxavxkm1f6kdx1sz3bvpmkr46sdijji06imi"; + }; + + vendorSha256 = "14rd9xd7s5sfmxgv5p9ka8x12xcimv5hrq7hzy0d1c3ddf50rr7n"; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "Utility to manage your SSH, telnet, kubernetes, winrm, web or any custom shell"; + homepage = "https://github.com/evilsocket/shellz"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index add6df83af21..e0af2235fbc6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32069,6 +32069,8 @@ with pkgs; shc = callPackage ../tools/security/shc { }; + shellz = callPackage ../tools/security/shellz { }; + canon-cups-ufr2 = callPackage ../misc/cups/drivers/canon { }; hll2390dw-cups = callPackage ../misc/cups/drivers/hll2390dw-cups { };