about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/baboossh/default.nix
blob: 66712eb99b2cd479fd0c13e3d89f5cab881dd206 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ 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 ];
  };
}