From 2562718511cd8fa309f020529f34081cfa334385 Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 5 May 2023 01:54:37 +0900 Subject: [PATCH] python3Packages.pyowm: fix build --- pkgs/development/python-modules/pyowm/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/pyowm/default.nix b/pkgs/development/python-modules/pyowm/default.nix index c43107599d29..d95cda12d600 100644 --- a/pkgs/development/python-modules/pyowm/default.nix +++ b/pkgs/development/python-modules/pyowm/default.nix @@ -6,6 +6,7 @@ , pythonOlder , requests , pytestCheckHook +, pythonRelaxDepsHook }: buildPythonPackage rec { @@ -22,6 +23,14 @@ buildPythonPackage rec { hash = "sha256-cSOhm3aDksLBChZzgw1gjUjLQkElR2/xGFMOb9K9RME="; }; + pythonRelaxDeps = [ + "geojson" + ]; + + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + propagatedBuildInputs = [ geojson pysocks