diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/staticjinja/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/staticjinja/default.nix | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/staticjinja/default.nix b/nixpkgs/pkgs/development/python-modules/staticjinja/default.nix index dc36066ec304..bce5316187e7 100644 --- a/nixpkgs/pkgs/development/python-modules/staticjinja/default.nix +++ b/nixpkgs/pkgs/development/python-modules/staticjinja/default.nix @@ -1,37 +1,41 @@ { lib , fetchFromGitHub , buildPythonPackage -, poetry -, docopt +, poetry-core +, docopt-ng , easywatch , jinja2 , pytestCheckHook , pytest-check +, pythonOlder , markdown , testVersion +, tomlkit , staticjinja }: buildPythonPackage rec { pname = "staticjinja"; - version = "3.0.1"; + version = "4.1.0"; format = "pyproject"; + disabled = pythonOlder "3.6"; + # No tests in pypi src = fetchFromGitHub { owner = "staticjinja"; repo = pname; rev = version; - sha256 = "sha256-W4q0vG8Kl2gCmA8UnUbdiGRtghhdnWxIJXFIIa6BogA="; + sha256 = "sha256-4IL+7ncJPd1e7k5oFRjQ6yvDjozcBAAZPf88biNTiLU="; }; nativeBuildInputs = [ - poetry + poetry-core ]; propagatedBuildInputs = [ jinja2 - docopt + docopt-ng easywatch ]; @@ -39,6 +43,7 @@ buildPythonPackage rec { pytestCheckHook pytest-check markdown + tomlkit ]; # The tests need to find and call the installed staticjinja executable |