staticjinja: 1.0.1 -> 2.1.0, add version test (#126690)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Francesco Gazzetta 2021-06-15 01:01:10 +00:00 committed by GitHub
parent f052ef14e7
commit 274ee2df9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/";