mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35: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,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
python3,
|
python3Packages,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with python3.pkgs;
|
python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
buildPythonApplication rec {
|
|
||||||
pname = "check-jsonschema";
|
pname = "check-jsonschema";
|
||||||
version = "0.30.0";
|
version = "0.33.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "python-jsonschema";
|
owner = "python-jsonschema";
|
||||||
repo = "check-jsonschema";
|
repo = "check-jsonschema";
|
||||||
tag = version;
|
tag = version;
|
||||||
hash = "sha256-qaNSL7ZPEWJ8Zc/XPEWtUJYQnUJ7jNdla1I0d6+GReM=";
|
hash = "sha256-dygE9vFQpoDtTBtN4zoWY1JXUxBSgiX3GDzdk72BmgI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = with python3Packages; [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = with python3Packages; [
|
||||||
ruamel-yaml
|
ruamel-yaml
|
||||||
jsonschema
|
jsonschema
|
||||||
requests
|
requests
|
||||||
|
@ -28,27 +26,26 @@ buildPythonApplication rec {
|
||||||
regress
|
regress
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = with python3Packages; [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
responses
|
responses
|
||||||
|
identify
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [ "test_schemaloader_yaml_data" ];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"check_jsonschema"
|
"check_jsonschema"
|
||||||
"check_jsonschema.cli"
|
"check_jsonschema.cli"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
meta = {
|
||||||
"test_schemaloader_yaml_data"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Jsonschema CLI and pre-commit hook";
|
description = "Jsonschema CLI and pre-commit hook";
|
||||||
mainProgram = "check-jsonschema";
|
mainProgram = "check-jsonschema";
|
||||||
homepage = "https://github.com/python-jsonschema/check-jsonschema";
|
homepage = "https://github.com/python-jsonschema/check-jsonschema";
|
||||||
changelog = "https://github.com/python-jsonschema/check-jsonschema/blob/${version}/CHANGELOG.rst";
|
changelog = "https://github.com/python-jsonschema/check-jsonschema/blob/${version}/CHANGELOG.rst";
|
||||||
license = licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = with maintainers; [ sudosubin ];
|
maintainers = with lib.maintainers; [ sudosubin ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue