ssh-mitm: move to top level
This commit is contained in:
parent
b07b3998f1
commit
b5ae7370bb
4 changed files with 22 additions and 17 deletions
|
@ -1,25 +1,30 @@
|
|||
{ lib
|
||||
, argcomplete
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, colored
|
||||
, packaging
|
||||
, paramiko
|
||||
, pytz
|
||||
, pyyaml
|
||||
, rich
|
||||
, sshpubkeys
|
||||
, pytestCheckHook
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
paramiko = super.paramiko.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.1.0";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
hash = "sha256-aVD6ymgZrNMhnUrmlKI8eofuONCE9wwXJLDA27i3V2k=";
|
||||
};
|
||||
patches = [ ];
|
||||
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ python3.pkgs.icecream ];
|
||||
});
|
||||
};
|
||||
};
|
||||
in
|
||||
with py.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "ssh-mitm";
|
||||
version = "3.0.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
|
@ -35,6 +40,7 @@ buildPythonPackage rec {
|
|||
pytz
|
||||
pyyaml
|
||||
rich
|
||||
setuptools
|
||||
sshpubkeys
|
||||
];
|
||||
|
|
@ -3667,7 +3667,7 @@ with pkgs;
|
|||
|
||||
ssh-key-confirmer = callPackage ../tools/networking/ssh-key-confirmer { };
|
||||
|
||||
ssh-mitm = with python3Packages; toPythonApplication ssh-mitm;
|
||||
ssh-mitm = callPackage ../tools/security/ssh-mitm { };
|
||||
|
||||
sshchecker = callPackage ../tools/security/sshchecker { };
|
||||
|
||||
|
|
|
@ -268,6 +268,7 @@ mapAliases ({
|
|||
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
|
||||
setuptools_scm = setuptools-scm; # added 2021-06-03
|
||||
sharkiqpy = sharkiq; # added 2022-05-21
|
||||
ssh-mitm = throw "ssh-mitm was removed in favor of the top-level ssh-mitm"; # added 2023-05-09
|
||||
smart_open = smart-open; # added 2021-03-14
|
||||
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
||||
somecomfort = throw "somecomfort was removed because Home Assistant switched to aiosomecomfort"; # added 2023-02-01
|
||||
|
|
|
@ -11443,8 +11443,6 @@ self: super: with self; {
|
|||
|
||||
sseclient-py = callPackage ../development/python-modules/sseclient-py { };
|
||||
|
||||
ssh-mitm = callPackage ../development/python-modules/ssh-mitm { };
|
||||
|
||||
sshfs = callPackage ../development/python-modules/sshfs { };
|
||||
|
||||
sshpubkeys = callPackage ../development/python-modules/sshpubkeys { };
|
||||
|
|
Loading…
Reference in a new issue