python3Packages.meteofrance-api: switch to poetry-core

This commit is contained in:
Martin Weinelt
2022-09-19 16:05:35 +02:00
committed by Sandro Jäckel
parent 1fbc586713
commit 2428c85be9
@@ -1,7 +1,8 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry
, fetchpatch
, poetry-core
, pytestCheckHook
, pythonOlder
, pytz
@@ -25,9 +26,16 @@ buildPythonPackage rec {
hash = "sha256-X8f0z9ZPXH7Wc3GqHmPptxpNxbHeezdOzw4gZCprumU=";
};
patches = [
(fetchpatch {
# Switch to poetry-core
url = "https://github.com/hacf-fr/meteofrance-api/commit/7536993fe38dfe3d0833da3fd750be9277aeffa6.patch";
hash = "sha256-/4VgzoJxhaXoj1N1GNLJNvkQvv6IW9OcBJV6vg6kthM=";
})
];
nativeBuildInputs = [
# Doesn't work with poetry-core at the moment
poetry
poetry-core
];
propagatedBuildInputs = [