From 179e011a541eb12d7057aa941ae140f9a0e4f85b Mon Sep 17 00:00:00 2001 From: Anna Lee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> Date: Mon, 13 Nov 2023 19:58:36 -0800 Subject: [PATCH] baboossh: fix build Incorporate PR https://github.com/cybiere/baboossh/pull/12 which updates import paramiko.py3compat import u -> paramiko.utils import u --- pkgs/tools/security/baboossh/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/security/baboossh/default.nix b/pkgs/tools/security/baboossh/default.nix index e9ad7b260efe..ee69130e67dd 100644 --- a/pkgs/tools/security/baboossh/default.nix +++ b/pkgs/tools/security/baboossh/default.nix @@ -1,6 +1,7 @@ { lib , python3 , fetchFromGitHub +, fetchpatch }: python3.pkgs.buildPythonApplication rec { @@ -15,6 +16,12 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-dorIqnJuAS/y9W6gyt65QjwGwx4bJHKLmdqRPzY25yA="; }; + patches = fetchpatch { + name = "py3compat-utils.patch"; + url = "https://github.com/cybiere/baboossh/commit/f7a75ebeda0c69ab5b119894b9e1488fc0a935a8.patch"; + hash = "sha256-gctuu/Qd3nmJIWv2mTyrGwjlQD1U+OhGK6Zh/Un06/E="; + }; + propagatedBuildInputs = with python3.pkgs; [ cmd2 tabulate