nixpkgs/pkgs/tools/security/baboossh/default.nix
2023-05-20 22:29:39 +02:00

40 lines
810 B
Nix

{ 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 ];
};
}