about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-11-28 08:09:08 -0800
committerRobert Schütz <github@dotlambda.de>2022-11-29 18:02:03 -0800
commit3e99f31265c171d125df9c47735f249885379a16 (patch)
treecfaa1ee8add57201d53457ea3907789d6bc8e657 /pkgs
parent96807bab30963db67158242183cf8f207785969c (diff)
python310Packages.aioeafm: use poetry-core
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/aioeafm/default.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/aioeafm/default.nix b/pkgs/development/python-modules/aioeafm/default.nix
index d8b8c11cef99c..6200c60d46652 100644
--- a/pkgs/development/python-modules/aioeafm/default.nix
+++ b/pkgs/development/python-modules/aioeafm/default.nix
@@ -2,7 +2,8 @@
 , aiohttp
 , buildPythonPackage
 , fetchFromGitHub
-, poetry
+, fetchpatch
+, poetry-core
 , pytest-aiohttp
 , pytest-asyncio
 , pytest-cov
@@ -21,7 +22,15 @@ buildPythonPackage rec {
     sha256 = "048cxn3fw2hynp27zlizq7k8ps67qq9sib1ddgirnxy5zc87vgkc";
   };
 
-  nativeBuildInputs = [ poetry ];
+  patches = [
+    (fetchpatch {
+      name = "use-poetry-core.patch";
+      url = "https://github.com/Jc2k/aioeafm/commit/549590e2ed465be40e2406416d89b8a8cd8c6185.patch";
+      hash = "sha256-cG/vQI1XQO8LVvWsHrAj8KlPGRulvO7Ny+k0CKUpPqQ=";
+    })
+  ];
+
+  nativeBuildInputs = [ poetry-core ];
 
   propagatedBuildInputs = [ aiohttp ];