From 59c2ffd586d4c9396fda8e796760d158c84e2987 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 24 Aug 2021 09:44:02 +0200 Subject: [PATCH] python3Packages.staticjinja: switch to poetry-core --- pkgs/development/python-modules/staticjinja/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/staticjinja/default.nix b/pkgs/development/python-modules/staticjinja/default.nix index 2223f4b6c529..bce5316187e7 100644 --- a/pkgs/development/python-modules/staticjinja/default.nix +++ b/pkgs/development/python-modules/staticjinja/default.nix @@ -1,14 +1,16 @@ { lib , fetchFromGitHub , buildPythonPackage -, poetry +, poetry-core , docopt-ng , easywatch , jinja2 , pytestCheckHook , pytest-check +, pythonOlder , markdown , testVersion +, tomlkit , staticjinja }: @@ -17,6 +19,8 @@ buildPythonPackage rec { version = "4.1.0"; format = "pyproject"; + disabled = pythonOlder "3.6"; + # No tests in pypi src = fetchFromGitHub { owner = "staticjinja"; @@ -26,7 +30,7 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - poetry + poetry-core ]; propagatedBuildInputs = [ @@ -39,6 +43,7 @@ buildPythonPackage rec { pytestCheckHook pytest-check markdown + tomlkit ]; # The tests need to find and call the installed staticjinja executable