From 95eca362d9ece03f819a5fc74dc3bc7e8f5082b0 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 12 Aug 2023 11:36:18 -0700 Subject: [PATCH] idasen: replace reference to poetry with poetry-core --- pkgs/development/python-modules/idasen/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/idasen/default.nix b/pkgs/development/python-modules/idasen/default.nix index 56523d538d5d..e4792be41690 100644 --- a/pkgs/development/python-modules/idasen/default.nix +++ b/pkgs/development/python-modules/idasen/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub +, fetchpatch , bleak , pyyaml , voluptuous @@ -24,6 +25,14 @@ buildPythonPackage rec { hash = "sha256-t8w4USDzyS0k5yk0XtQF8fVffzdf+udKSkdveMlseHk="; }; + patches = [ + (fetchpatch { + name = "replace-poetry-with-poetry-core.patch"; + url = "https://github.com/newAM/idasen/commit/b9351d5c9def0687e4ae4cb65f38d14ed9ff2df5.patch"; + hash = "sha256-Qi3psPZExJ5tBJ4IIvDC3JnWf4Gym6Z7akGCV8GZUNY="; + }) + ]; + nativeBuildInputs = [ poetry-core ];