check-jsonschema: 0.18.3 -> 0.21.0
This commit is contained in:
parent
49e3683c6b
commit
e242104431
|
@ -4,19 +4,21 @@ with python3.pkgs;
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "check-jsonschema";
|
pname = "check-jsonschema";
|
||||||
version = "0.18.3";
|
version = "0.21.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "python-jsonschema";
|
owner = "python-jsonschema";
|
||||||
repo = "check-jsonschema";
|
repo = "check-jsonschema";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-9Ejcxr/22rJu8JoC7WspLfzF08elz4TaGagDeV0zIXk=";
|
hash = "sha256-7cXnV27LCG1MXDH28UBmUC4sLooH2gKvGYF3YijLB38=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
ruamel-yaml
|
ruamel-yaml
|
||||||
jsonschema
|
jsonschema
|
||||||
identify
|
|
||||||
requests
|
requests
|
||||||
click
|
click
|
||||||
];
|
];
|
||||||
|
@ -37,9 +39,15 @@ buildPythonApplication rec {
|
||||||
export no_proxy='*';
|
export no_proxy='*';
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"check_jsonschema"
|
||||||
|
"check_jsonschema.cli"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A jsonschema CLI and pre-commit hook";
|
description = "A jsonschema CLI and pre-commit hook";
|
||||||
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";
|
||||||
license = licenses.apsl20;
|
license = licenses.apsl20;
|
||||||
maintainers = with maintainers; [ sudosubin ];
|
maintainers = with maintainers; [ sudosubin ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue