tunnelgraf: override paramiko (#444578)

authored by Fabian Affolter and committed by GitHub d1e93f5b 93efdf2d

+25 -5
+23 -5
pkgs/by-name/tu/tunnelgraf/package.nix
··· 1 { 2 lib, 3 fetchFromGitHub, 4 python3, 5 }: 6 7 - python3.pkgs.buildPythonApplication rec { 8 pname = "tunnelgraf"; 9 version = "1.0.6"; 10 pyproject = true; ··· 19 pythonRelaxDeps = [ 20 "click" 21 "deepmerge" 22 - "paramiko" 23 "psutil" 24 "pydantic" 25 ]; 26 27 - build-system = with python3.pkgs; [ hatchling ]; 28 29 - dependencies = with python3.pkgs; [ 30 click 31 deepmerge 32 paramiko ··· 46 meta = { 47 description = "Tool to manage SSH tunnel hops to many endpoints"; 48 homepage = "https://github.com/denniswalker/tunnelgraf"; 49 - changelog = "https://github.com/denniswalker/tunnelgraf/releases/tag/v${version}"; 50 license = lib.licenses.mit; 51 maintainers = with lib.maintainers; [ fab ]; 52 mainProgram = "tunnelgraf";
··· 1 { 2 lib, 3 fetchFromGitHub, 4 + fetchPypi, 5 python3, 6 }: 7 8 + let 9 + py = python3.override { 10 + packageOverrides = self: super: { 11 + 12 + # Doesn't work with latest paramiko 13 + paramiko = super.paramiko.overridePythonAttrs (oldAttrs: rec { 14 + version = "3.4.0"; 15 + src = fetchPypi { 16 + pname = "paramiko"; 17 + inherit version; 18 + hash = "sha256-qsCPJqMdxN/9koIVJ9FoLZnVL572hRloEUqHKPPCdNM="; 19 + }; 20 + doCheck = false; 21 + }); 22 + }; 23 + }; 24 + in 25 + py.pkgs.buildPythonApplication rec { 26 pname = "tunnelgraf"; 27 version = "1.0.6"; 28 pyproject = true; ··· 37 pythonRelaxDeps = [ 38 "click" 39 "deepmerge" 40 "psutil" 41 "pydantic" 42 + "python-hosts" 43 ]; 44 45 + build-system = with py.pkgs; [ hatchling ]; 46 47 + dependencies = with py.pkgs; [ 48 click 49 deepmerge 50 paramiko ··· 64 meta = { 65 description = "Tool to manage SSH tunnel hops to many endpoints"; 66 homepage = "https://github.com/denniswalker/tunnelgraf"; 67 + changelog = "https://github.com/denniswalker/tunnelgraf/releases/tag/${src.tag}"; 68 license = lib.licenses.mit; 69 maintainers = with lib.maintainers; [ fab ]; 70 mainProgram = "tunnelgraf";
+2
pkgs/development/python-modules/sshtunnel/default.nix
··· 35 "test_get_keys" 36 "connect_via_proxy" 37 "read_ssh_config" 38 ]; 39 40 meta = with lib; {
··· 35 "test_get_keys" 36 "connect_via_proxy" 37 "read_ssh_config" 38 + # Test doesn't work with paramiko < 4.0.0 and the patch above 39 + "test_read_private_key_file" 40 ]; 41 42 meta = with lib; {