mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
check-jsonschema: 0.30.0 -> 0.33.0
Diff: https://github.com/python-jsonschema/check-jsonschema/compare/refs/tags/0.30.0...refs/tags/0.33.0 Changelog: https://github.com/python-jsonschema/check-jsonschema/blob/0.33.0/CHANGELOG.rst
This commit is contained in:
parent
396cd35344
commit
83087e2f1d
1 changed files with 15 additions and 18 deletions
|
@ -1,26 +1,24 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
python3Packages,
|
||||
}:
|
||||
|
||||
with python3.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "check-jsonschema";
|
||||
version = "0.30.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
version = "0.33.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-jsonschema";
|
||||
repo = "check-jsonschema";
|
||||
tag = version;
|
||||
hash = "sha256-qaNSL7ZPEWJ8Zc/XPEWtUJYQnUJ7jNdla1I0d6+GReM=";
|
||||
hash = "sha256-dygE9vFQpoDtTBtN4zoWY1JXUxBSgiX3GDzdk72BmgI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
ruamel-yaml
|
||||
jsonschema
|
||||
requests
|
||||
|
@ -28,27 +26,26 @@ buildPythonApplication rec {
|
|||
regress
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
pytest-xdist
|
||||
responses
|
||||
identify
|
||||
];
|
||||
|
||||
disabledTests = [ "test_schemaloader_yaml_data" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"check_jsonschema"
|
||||
"check_jsonschema.cli"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_schemaloader_yaml_data"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Jsonschema CLI and pre-commit hook";
|
||||
mainProgram = "check-jsonschema";
|
||||
homepage = "https://github.com/python-jsonschema/check-jsonschema";
|
||||
changelog = "https://github.com/python-jsonschema/check-jsonschema/blob/${version}/CHANGELOG.rst";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ sudosubin ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ sudosubin ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue