diff --git a/pkgs/development/python-modules/staticjinja/default.nix b/pkgs/development/python-modules/staticjinja/default.nix index 90ba99fe0ac8..0681218cd0a5 100644 --- a/pkgs/development/python-modules/staticjinja/default.nix +++ b/pkgs/development/python-modules/staticjinja/default.nix @@ -8,11 +8,13 @@ , pytestCheckHook , pytest-check , markdown +, testVersion +, staticjinja }: buildPythonPackage rec { pname = "staticjinja"; - version = "2.0.1"; + version = "2.1.0"; format = "pyproject"; # No tests in pypi @@ -20,7 +22,7 @@ buildPythonPackage rec { owner = "staticjinja"; repo = pname; rev = version; - sha256 = "sha256-sGon3+So4EuVRTUqcP9omfJ91wBzJSm7CSkuefX3S+8="; + sha256 = "sha256-VKsDvWEurBdckWbPG5hQLK3dzdM7XVbrp23fR5wp1xk="; }; nativeBuildInputs = [ @@ -44,6 +46,10 @@ buildPythonPackage rec { export PATH="$PATH:$out/bin"; ''; + passthru.tests.version = testVersion { + package = staticjinja; + }; + meta = with lib; { description = "A library and cli tool that makes it easy to build static sites using Jinja2"; homepage = "https://staticjinja.readthedocs.io/en/latest/";