-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
python3Packages.json-schema-for-humans: 0.27.1 -> 0.31.0 #115114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
00f033a
python3Packages.typing-inspect: fix build for Python > 3.9
fabaff 7036851
python37Packages.json-schema-for-humans: 0.27.1 -> 0.31.0
fabaff b1c44bf
python3Packages.dataclasses-json: enable tests
fabaff ad87445
python3Packages.libcst: run some tests
fabaff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 38 additions & 10 deletions
48
pkgs/development/python-modules/json-schema-for-humans/default.nix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,63 @@ | ||
| { lib, buildPythonPackage, fetchFromGitHub | ||
| , pbr, click, dataclasses-json, htmlmin, jinja2, markdown2, pygments, pytz, pyyaml, requests, pytestCheckHook, beautifulsoup4, tox | ||
| { lib | ||
| , beautifulsoup4 | ||
| , buildPythonPackage | ||
| , click | ||
| , dataclasses-json | ||
| , fetchFromGitHub | ||
| , htmlmin | ||
| , jinja2 | ||
| , markdown2 | ||
| , pbr | ||
| , pygments | ||
| , pytz | ||
| , pyyaml | ||
| , requests | ||
| }: | ||
|
|
||
| buildPythonPackage rec { | ||
| pname = "json-schema-for-humans"; | ||
| version = "0.27.1"; | ||
| version = "0.31.0"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "coveooss"; | ||
| repo = pname; | ||
| rev = "v${version}"; | ||
| sha256 = "0d2a4a2lcqssr5g9rmc76f86nkqc9grixh507vzc9fi1h3gbi765"; | ||
| sha256 = "1aj1w0qxdw8d6mf5vngk0xjgs7z8vzwc2aycahnkqg7q3cagq19n"; | ||
| }; | ||
|
|
||
| nativeBuildInputs = [ pbr ]; | ||
|
|
||
| propagatedBuildInputs = [ | ||
| click dataclasses-json htmlmin jinja2 markdown2 | ||
| pygments pytz pyyaml requests | ||
| click | ||
| dataclasses-json | ||
| htmlmin | ||
| jinja2 | ||
| markdown2 | ||
| pygments | ||
| pytz | ||
| pyyaml | ||
| requests | ||
| ]; | ||
|
|
||
| preBuild = '' | ||
| export PBR_VERSION=0.0.1 | ||
| ''; | ||
|
|
||
| checkInputs = [ pytestCheckHook beautifulsoup4 ]; | ||
| pytestFlagsArray = [ "--ignore tests/generate_test.py" ]; | ||
| checkInputs = [ | ||
| beautifulsoup4 | ||
| ]; | ||
|
|
||
| disabledTests = [ | ||
| # Tests require network access | ||
| "test_references_url" | ||
| ]; | ||
|
|
||
| pythonImportsCheck = [ "json_schema_for_humans" ]; | ||
|
|
||
| meta = with lib; { | ||
| description = "Quickly generate HTML documentation from a JSON schema"; | ||
| homepage = "https://github.com/coveooss/json-schema-for-humans"; | ||
| license = licenses.asl20; | ||
| homepage = "https://github.com/coveooss/json-schema-for-humans"; | ||
| license = licenses.asl20; | ||
| maintainers = with maintainers; [ astro ]; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we apply this unconditionally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. I saw failures if the patch is applied to Python 3.7/3.8. Let me test again.