python310Packages.ssh-mitm: init at 2.0.0

This commit is contained in:
Fabian Affolter 2022-05-13 10:24:45 +02:00
parent f33ea38ec3
commit 20ecd968c8
3 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,58 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, colored
, enhancements
, packaging
, paramiko
, pytz
, pyyaml
, requests
, rich
, sshpubkeys
, typeguard
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ssh-mitm";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
hash = "sha256-1Vx68ISsT2Vrzy3YBqDqcGEHXHzdKR8jTtBH9SNXT2s=";
};
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 ];
};
}

View file

@ -2469,6 +2469,8 @@ with pkgs;
ssh-key-confirmer = callPackage ../tools/networking/ssh-key-confirmer { }; ssh-key-confirmer = callPackage ../tools/networking/ssh-key-confirmer { };
ssh-mitm = with python3Packages; toPythonApplication ssh-mitm;
sshchecker = callPackage ../tools/security/sshchecker { }; sshchecker = callPackage ../tools/security/sshchecker { };
titaniumenv = callPackage ../development/mobile/titaniumenv { }; titaniumenv = callPackage ../development/mobile/titaniumenv { };

View file

@ -9885,6 +9885,8 @@ in {
sseclient-py = callPackage ../development/python-modules/sseclient-py { }; sseclient-py = callPackage ../development/python-modules/sseclient-py { };
ssh-mitm = callPackage ../development/python-modules/ssh-mitm { };
sshpubkeys = callPackage ../development/python-modules/sshpubkeys { }; sshpubkeys = callPackage ../development/python-modules/sshpubkeys { };
sshtunnel = callPackage ../development/python-modules/sshtunnel { }; sshtunnel = callPackage ../development/python-modules/sshtunnel { };