nixpkgs/pkgs/development/python-modules/ssh-mitm/default.nix
2022-06-18 03:31:16 +00:00

59 lines
946 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, colored
, enhancements
, packaging
, paramiko
, pytz
, pyyaml
, requests
, rich
, sshpubkeys
, typeguard
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ssh-mitm";
version = "2.0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-zLVi+9XvNAfa3fB2GRdNnEPoDY2Wf3XkbQGOT0RNkdQ=";
};
propagatedBuildInputs = [
colored
enhancements
packaging
paramiko
pytz
pyyaml
requests
rich
sshpubkeys
typeguard
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"sshmitm"
];
meta = with lib; {
description = "Tool for SSH security audits";
homepage = "https://github.com/ssh-mitm/ssh-mitm";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ fab ];
};
}