3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ssh-mitm/default.nix
2022-08-05 15:54:48 +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.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-DMXzDgSt1p3ZNGrXnSr79KH33SJNN8U4/94Hoz7Rs+I=";
};
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 ];
};
}