1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 webtest, 6 markupsafe, 7 jinja2, 8 pytestCheckHook, 9 pytest-cov-stub, 10 zope-deprecation, 11 pyramid, 12 pythonOlder, 13}: 14 15buildPythonPackage rec { 16 pname = "pyramid-jinja2"; 17 version = "2.10.1"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 pname = "pyramid_jinja2"; 24 inherit version; 25 hash = "sha256-jFCMs1wTX5UUnKI2EQ+ciHU0NXV0DRbFy3OlDvHCFnc="; 26 }; 27 28 propagatedBuildInputs = [ 29 markupsafe 30 jinja2 31 pyramid 32 zope-deprecation 33 ]; 34 35 nativeCheckInputs = [ 36 webtest 37 pytestCheckHook 38 pytest-cov-stub 39 ]; 40 41 pythonImportsCheck = [ "pyramid_jinja2" ]; 42 43 disabledTests = [ 44 # AssertionError: Lists differ: ['pyramid_jinja2-2.10',... 45 "test_it_relative_to_package" 46 # AssertionError: False is not true 47 "test_options" 48 ]; 49 50 meta = with lib; { 51 description = "Jinja2 template bindings for the Pyramid web framework"; 52 homepage = "https://github.com/Pylons/pyramid_jinja2"; 53 license = licenses.bsd0; 54 maintainers = with maintainers; [ ]; 55 }; 56}