ssh-mitm: remove override for paramiko

+25 -36
+25 -36
pkgs/by-name/ss/ssh-mitm/package.nix
··· 6 6 python3, 7 7 }: 8 8 9 - let 10 - py = python3.override { 11 - self = py; 12 - packageOverrides = self: super: { 13 - paramiko = super.paramiko.overridePythonAttrs (oldAttrs: rec { 14 - version = "3.4.1"; 15 - src = oldAttrs.src.override { 16 - inherit version; 17 - hash = "sha256-ixUwKHCvf2ZS8uA4l1wdKXPwYEbLXX1lNVZos+y+zgw="; 18 - }; 19 - dependencies = oldAttrs.dependencies ++ [ python3.pkgs.icecream ]; 20 - }); 21 - }; 22 - }; 23 - in 24 - with py.pkgs; 25 - 26 - buildPythonApplication rec { 9 + python3.pkgs.buildPythonApplication rec { 27 10 pname = "ssh-mitm"; 28 11 version = "5.0.1"; 29 12 pyproject = true; ··· 35 18 hash = "sha256-FmxVhYkPRZwS+zFwuId9nRGN832LRkgCNgDYb8Pg01U="; 36 19 }; 37 20 38 - build-system = [ 21 + pythonRelaxDeps = [ "paramiko" ]; 22 + 23 + build-system = with python3.pkgs; [ 39 24 hatchling 40 25 hatch-requirements-txt 41 26 ]; 42 27 43 - dependencies = [ 44 - appimage 45 - argcomplete 46 - colored 47 - packaging 48 - paramiko 49 - pytz 50 - pyyaml 51 - python-json-logger 52 - rich 53 - tkinter 54 - setuptools 55 - sshpubkeys 56 - wrapt 57 - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ setuptools ]; 28 + nativeBuildInputs = [ installShellFiles ]; 29 + 30 + dependencies = 31 + with python3.pkgs; 32 + [ 33 + appimage 34 + argcomplete 35 + colored 36 + packaging 37 + paramiko 38 + pytz 39 + pyyaml 40 + python-json-logger 41 + rich 42 + tkinter 43 + setuptools 44 + sshpubkeys 45 + wrapt 46 + ] 47 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ setuptools ]; 58 48 # fix for darwin users 59 49 60 - nativeBuildInputs = [ installShellFiles ]; 61 - 62 50 # Module has no tests 63 51 doCheck = false; 52 + 64 53 # Install man page 65 54 postInstall = '' 66 55 installManPage man1/*