python3Packages.staticjinja: switch to poetry-core

This commit is contained in:
Fabian Affolter 2021-08-24 09:44:02 +02:00
parent 098ca1a9aa
commit 59c2ffd586

View File

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