Skip to content

Commit

Permalink
python311Packages.jinja2-pluralize: enable tests
Browse files Browse the repository at this point in the history
and use SRI hash
  • Loading branch information
natsukium committed Nov 1, 2023
1 parent 52d0117 commit 39a33ec
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions pkgs/development/python-modules/jinja2-pluralize/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{ lib, buildPythonPackage, fetchPypi, jinja2, inflect }:
{ lib
, buildPythonPackage
, fetchPypi
, jinja2
, inflect
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "jinja2-pluralize";
Expand All @@ -7,14 +13,22 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "jinja2_pluralize";
inherit version;
sha256 = "071wnzzz20wjb0iw7grxgj1lb2f0kz50qyfbcq54rddr2x82sp6z";
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";
Expand Down

0 comments on commit 39a33ec

Please sign in to comment.