python3Packages.iso8601: build with poetry

This commit is contained in:
K900 2022-04-16 09:14:06 +03:00 committed by Frederik Rietdijk
parent be4a24ee49
commit b7d2914baa

View file

@ -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