1 { lib, fetchFromGitHub, python3 }:
5 buildPythonApplication rec {
6 pname = "check-jsonschema";
10 disabled = pythonOlder "3.7";
12 src = fetchFromGitHub {
13 owner = "python-jsonschema";
14 repo = "check-jsonschema";
15 rev = "refs/tags/${version}";
16 hash = "sha256-QHcpcpICYqQUUCkLAV4BpDYn7Te/TGbXFPgr8Emp0ew=";
19 propagatedBuildInputs = [
33 pythonImportsCheck = [
35 "check_jsonschema.cli"
39 "test_schemaloader_yaml_data"
43 description = "A jsonschema CLI and pre-commit hook";
44 mainProgram = "check-jsonschema";
45 homepage = "https://github.com/python-jsonschema/check-jsonschema";
46 changelog = "https://github.com/python-jsonschema/check-jsonschema/blob/${version}/CHANGELOG.rst";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ sudosubin ];