Skip to content

Commit

Permalink
json-schema-for-humans: fix build and update (NixOS#362898)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Dec 10, 2024
2 parents ff6ad04 + 292bd59 commit 45135b3
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

buildPythonPackage rec {
pname = "json-schema-for-humans";
version = "1.0.3";
version = "1.3.0";
pyproject = true;

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

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'markdown2 = "^2.5.0"' 'markdown2 = "^2.4.1"'
'';

pythonRelaxDeps = [ "dataclasses-json" ];

build-system = [ poetry-core ];
Expand Down

0 comments on commit 45135b3

Please sign in to comment.