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