From 596e44dab33df8db7e1af3b21fe2360f35fa5585 Mon Sep 17 00:00:00 2001 From: Tadas Barzdzius Date: Wed, 5 Mar 2025 21:51:59 +0200 Subject: [PATCH] poetryPlugins.poetry-plugin-export: add upstream patch to build with poetry 2.1.1 --- .../po/poetry/plugins/poetry-plugin-export.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/by-name/po/poetry/plugins/poetry-plugin-export.nix b/pkgs/by-name/po/poetry/plugins/poetry-plugin-export.nix index 370bf96a33d1..7bea1fc4f59c 100644 --- a/pkgs/by-name/po/poetry/plugins/poetry-plugin-export.nix +++ b/pkgs/by-name/po/poetry/plugins/poetry-plugin-export.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch, poetry, poetry-core, pytest-mock, @@ -21,6 +22,18 @@ buildPythonPackage rec { hash = "sha256-AP3/njzbLEi2s4pOUSLLLzqNprvxwLe9LSY7qh08EWc="; }; + patches = [ + # Remove after next release of poetry-plugin-export + (fetchpatch { + url = "https://github.com/python-poetry/poetry-plugin-export/commit/16637f194e86708913ec6e09064c713eb0715bb6.patch"; + includes = [ + "tests/test_exporter.py" + "tests/markers.py" + ]; + hash = "sha256-ncz9kqp18+yeRXlhmLEcWfO1bDavjohhmVw6DwTy1hA="; + }) + ]; + build-system = [ poetry-core ];