ssh-mitm: remove override for paramiko

This commit is contained in:
Fabian Affolter
2025-07-06 18:48:04 +02:00
parent a967b2febf
commit 6675bb5710
+25 -36
View File
@@ -6,24 +6,7 @@
python3,
}:
let
py = python3.override {
self = py;
packageOverrides = self: super: {
paramiko = super.paramiko.overridePythonAttrs (oldAttrs: rec {
version = "3.4.1";
src = oldAttrs.src.override {
inherit version;
hash = "sha256-ixUwKHCvf2ZS8uA4l1wdKXPwYEbLXX1lNVZos+y+zgw=";
};
dependencies = oldAttrs.dependencies ++ [ python3.pkgs.icecream ];
});
};
};
in
with py.pkgs;
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "ssh-mitm";
version = "5.0.1";
pyproject = true;
@@ -35,32 +18,38 @@ buildPythonApplication rec {
hash = "sha256-FmxVhYkPRZwS+zFwuId9nRGN832LRkgCNgDYb8Pg01U=";
};
build-system = [
pythonRelaxDeps = [ "paramiko" ];
build-system = with python3.pkgs; [
hatchling
hatch-requirements-txt
];
dependencies = [
appimage
argcomplete
colored
packaging
paramiko
pytz
pyyaml
python-json-logger
rich
tkinter
setuptools
sshpubkeys
wrapt
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ setuptools ];
# fix for darwin users
nativeBuildInputs = [ installShellFiles ];
dependencies =
with python3.pkgs;
[
appimage
argcomplete
colored
packaging
paramiko
pytz
pyyaml
python-json-logger
rich
tkinter
setuptools
sshpubkeys
wrapt
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ setuptools ];
# fix for darwin users
# Module has no tests
doCheck = false;
# Install man page
postInstall = ''
installManPage man1/*