From b7d2914baa8ea7e1df2d884b4c90e0e62f325b0b Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 16 Apr 2022 09:14:06 +0300 Subject: [PATCH] python3Packages.iso8601: build with poetry --- pkgs/development/python-modules/iso8601/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/iso8601/default.nix b/pkgs/development/python-modules/iso8601/default.nix index a5eb03dc8eb..14cef7c62a8 100644 --- a/pkgs/development/python-modules/iso8601/default.nix +++ b/pkgs/development/python-modules/iso8601/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , hypothesis +, poetry-core , pytestCheckHook , pytz , pythonOlder @@ -10,7 +11,7 @@ buildPythonPackage rec { pname = "iso8601"; version = "1.0.2"; - format = "setuptools"; + format = "pyproject"; disabled = pythonOlder "3.6"; @@ -19,6 +20,10 @@ buildPythonPackage rec { sha256 = "sha256-J/UDIg5oRdnblU+yErlbA2LYt+bBsjJqhwYcPek1lLE="; }; + nativeBuildInputs = [ + poetry-core + ]; + checkInputs = [ hypothesis pytestCheckHook