Skip to content

Commit 45135b3

Browse files
committed
json-schema-for-humans: fix build and update (#362898)
2 parents ff6ad04 + 292bd59 commit 45135b3

File tree

1 file changed

+7
-2
lines changed
  • pkgs/development/python-modules/json-schema-for-humans

1 file changed

+7
-2
lines changed

pkgs/development/python-modules/json-schema-for-humans/default.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
buildPythonPackage rec {
2121
pname = "json-schema-for-humans";
22-
version = "1.0.3";
22+
version = "1.3.0";
2323
pyproject = true;
2424

2525
disabled = pythonOlder "3.7";
@@ -28,9 +28,14 @@ buildPythonPackage rec {
2828
owner = "coveooss";
2929
repo = "json-schema-for-humans";
3030
rev = "refs/tags/v${version}";
31-
hash = "sha256-QMDbuiHfL8JLYJwceyxGR3Zc8+ZBVlCGHOBeH5x4BmQ=";
31+
hash = "sha256-0nen6oJOWdihm/EWKSGQLlD70pRxezhCHykBJxlSFHo=";
3232
};
3333

34+
postPatch = ''
35+
substituteInPlace pyproject.toml \
36+
--replace-fail 'markdown2 = "^2.5.0"' 'markdown2 = "^2.4.1"'
37+
'';
38+
3439
pythonRelaxDeps = [ "dataclasses-json" ];
3540

3641
build-system = [ poetry-core ];

0 commit comments

Comments
 (0)