From 15d805ea1114460c137ed449547ebe1785deb2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 8 Jul 2023 19:03:01 -0700 Subject: [PATCH] poetryPlugins.poetry-plugin-up: make compatible with poetry 1.5 --- .../poetry/plugins/poetry-plugin-up.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/tools/package-management/poetry/plugins/poetry-plugin-up.nix b/pkgs/tools/package-management/poetry/plugins/poetry-plugin-up.nix index 71b7b96c486d..ab00788facc3 100644 --- a/pkgs/tools/package-management/poetry/plugins/poetry-plugin-up.nix +++ b/pkgs/tools/package-management/poetry/plugins/poetry-plugin-up.nix @@ -1,5 +1,6 @@ { lib , fetchFromGitHub +, fetchpatch , buildPythonPackage , poetry-core , pytestCheckHook @@ -19,6 +20,14 @@ buildPythonPackage rec { hash = "sha256-QDfXgLkwh5rfyNZv0S7+cq6ubldXsbuCiTr6VYx8ZQs="; }; + patches = [ + # https://github.com/MousaZeidBaker/poetry-plugin-up/pull/24 + (fetchpatch { + url = "https://github.com/MousaZeidBaker/poetry-plugin-up/commit/31d78c547896efd27c2be0956a982638f32b07f8.patch"; + hash = "sha256-CkZgX/ES+VkfxBofxWeparXNjsdP4qcQ1I32zaBBmWo="; + }) + ]; + nativeBuildInputs = [ poetry-core ];