2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
38 lines
678 B
Nix
38 lines
678 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jinja2
|
|
, inflect
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jinja2-pluralize";
|
|
version = "0.3.0";
|
|
|
|
src = fetchPypi {
|
|
pname = "jinja2_pluralize";
|
|
inherit version;
|
|
hash = "sha256-31wtUBe5tUwKZst5DMqfwIlFg3w9v8MjWJID8f+3PBw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
jinja2
|
|
inflect
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"jinja2_pluralize"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Jinja2 pluralize filters";
|
|
homepage = "https://github.com/audreyr/jinja2_pluralize";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ dzabraev ];
|
|
};
|
|
}
|