mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 21:44:49 +00:00
python3Packages.staticjinja: switch to poetry-core
This commit is contained in:
parent
098ca1a9aa
commit
59c2ffd586
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user