about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-26 15:56:15 -0700
committerTheodore Ni <3806110+tjni@users.noreply.github.com>2023-08-26 15:56:15 -0700
commitce63938d38eec74d95758fdc671b7a1ef9bb9972 (patch)
tree10b5fac6b56c4eec8ef9299308bbf0b48967f3a1
parentd3b4a08e6e25755b0a6dc4bd831b7d5d49d3d004 (diff)
python310Packages.ansible-pylibssh: patch out setuptools_scm_git_archive
-rw-r--r--pkgs/development/python-modules/ansible-pylibssh/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ansible-pylibssh/default.nix b/pkgs/development/python-modules/ansible-pylibssh/default.nix
index 5eb60419fcf7a..cfe8d7e1e1fa5 100644
--- a/pkgs/development/python-modules/ansible-pylibssh/default.nix
+++ b/pkgs/development/python-modules/ansible-pylibssh/default.nix
@@ -23,6 +23,11 @@ buildPythonPackage rec {
     hash = "sha256-spaGux6dYvtUtpOdU6oN7SEn8IgBof2NpQSPvr+Zplg=";
   };
 
+  # remove after https://github.com/ansible/pylibssh/pull/502 is merged
+  postPatch = ''
+    sed -i "/setuptools_scm_git_archive/d" pyproject.toml
+  '';
+
   nativeBuildInputs = [
     cython
     wheel