1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 jinja2, 6 inflect, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "jinja2-pluralize"; 12 version = "0.3.0"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 pname = "jinja2_pluralize"; 17 inherit version; 18 hash = "sha256-31wtUBe5tUwKZst5DMqfwIlFg3w9v8MjWJID8f+3PBw="; 19 }; 20 21 propagatedBuildInputs = [ 22 jinja2 23 inflect 24 ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "jinja2_pluralize" ]; 29 30 meta = with lib; { 31 description = "Jinja2 pluralize filters"; 32 homepage = "https://github.com/audreyr/jinja2_pluralize"; 33 license = licenses.bsd3; 34 maintainers = with maintainers; [ dzabraev ]; 35 }; 36}