baboossh: refactor (#351593)

This commit is contained in:
Fabian Affolter 2024-10-31 08:51:00 +01:00 committed by GitHub
commit a062759014
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,13 @@
{ lib
, python3
, fetchFromGitHub
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "baboossh";
version = "1.2.1";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "cybiere";
@ -15,26 +16,26 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-E/a6dL6BpQ6D8v010d8/qav/fkxpCYNvSvoPAZsm0Hk=";
};
propagatedBuildInputs = with python3.pkgs; [
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
cmd2
tabulate
paramiko
python-libnmap
tabulate
];
# No tests available
doCheck = false;
pythonImportsCheck = [
"baboossh"
];
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 ];
mainProgram = "baboossh";
};
}