From 7dfe38752909d81b9dbd884096c1039102d744cd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 May 2023 22:29:39 +0200 Subject: [PATCH] baboossh: init at 1.2.0 --- pkgs/tools/security/baboossh/default.nix | 39 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 41 insertions(+) create mode 100644 pkgs/tools/security/baboossh/default.nix diff --git a/pkgs/tools/security/baboossh/default.nix b/pkgs/tools/security/baboossh/default.nix new file mode 100644 index 000000000000..e9ad7b260efe --- /dev/null +++ b/pkgs/tools/security/baboossh/default.nix @@ -0,0 +1,39 @@ +{ lib +, python3 +, fetchFromGitHub +}: + +python3.pkgs.buildPythonApplication rec { + pname = "baboossh"; + version = "1.2.0"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "cybiere"; + repo = "baboossh"; + rev = "refs/tags/v${version}"; + hash = "sha256-dorIqnJuAS/y9W6gyt65QjwGwx4bJHKLmdqRPzY25yA="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + cmd2 + tabulate + paramiko + python-libnmap + ]; + + # No tests available + doCheck = false; + + pythonImportsCheck = [ + "baboossh" + ]; + + meta = with lib; { + description = "Tool to do SSH spreading"; + homepage = "https://github.com/cybiere/baboossh"; + changelog = "https://github.com/cybiere/baboossh/releases/tag/v${version}"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index be33c1d3d065..ae3c34f86c56 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3825,6 +3825,8 @@ with pkgs; babelfish = callPackage ../shells/fish/babelfish.nix { }; + baboossh = callPackage ../tools/security/baboossh { }; + badchars = python3Packages.callPackage ../tools/security/badchars { }; badvpn = callPackage ../tools/networking/badvpn { };