depot/third_party/nixpkgs/pkgs/development/python-modules/jinja2-pluralize/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

39 lines
703 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jinja2
, inflect
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jinja2-pluralize";
version = "0.3.0";
format = "setuptools";
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 ];
};
}