Skip to content

Commit 917ee0a

Browse files
authored
python312Packages.pypugjs: 5.10.1 -> 5.12.0 (#394934)
2 parents 15b12bd + f38c6ad commit 917ee0a

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

pkgs/development/python-modules/pypugjs/default.nix

+17-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
fetchFromGitHub,
77
jinja2,
88
mako,
9+
poetry-core,
910
pyramid,
1011
pyramid-mako,
1112
pytestCheckHook,
@@ -15,21 +16,29 @@
1516

1617
buildPythonPackage rec {
1718
pname = "pypugjs";
18-
version = "5.10.1";
19-
format = "setuptools";
19+
version = "5.12.0";
20+
pyproject = true;
2021

2122
src = fetchFromGitHub {
2223
owner = "kakulukia";
2324
repo = "pypugjs";
2425
tag = "v${version}";
25-
hash = "sha256-W+EVNxT2OimNENHe4lJDn6Wm1EbBysGuCD3/Wkdew/U=";
26+
hash = "sha256-JHZzyEilCjpZFIrl5kk1oJ4C/vgQTfVoRRGBK+DuHAE=";
2627
};
2728

28-
propagatedBuildInputs = [
29+
build-system = [
30+
poetry-core
31+
];
32+
33+
dependencies = [
2934
six
3035
charset-normalizer
3136
];
3237

38+
pythonRelaxDeps = [
39+
"charset-normalizer"
40+
];
41+
3342
nativeCheckInputs = [
3443
django
3544
jinja2
@@ -42,6 +51,10 @@ buildPythonPackage rec {
4251

4352
pytestCheckFlags = [ "pypugjs/testsuite" ];
4453

54+
pythonImportsCheck = [
55+
"pypugjs"
56+
];
57+
4558
meta = with lib; {
4659
description = "PugJS syntax template adapter for Django, Jinja2, Mako and Tornado templates";
4760
mainProgram = "pypugjs";

0 commit comments

Comments
 (0)