depot/third_party/nixpkgs/pkgs/tools/security/baboossh/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

40 lines
840 B
Nix

{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "baboossh";
version = "1.2.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "cybiere";
repo = "baboossh";
rev = "refs/tags/v${version}";
hash = "sha256-E/a6dL6BpQ6D8v010d8/qav/fkxpCYNvSvoPAZsm0Hk=";
};
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;
mainProgram = "baboossh";
maintainers = with maintainers; [ fab ];
};
}