1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pathable, 7 pyyaml, 8 referencing, 9 pytest-cov-stub, 10 pytestCheckHook, 11 responses, 12}: 13 14buildPythonPackage rec { 15 pname = "jsonschema-path"; 16 version = "0.3.4"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "p1c2u"; 21 repo = "jsonschema-path"; 22 tag = version; 23 hash = "sha256-rCepDnVAOEsokKjWCuqDYbGIq6/wn4rsQRx5dXTUsYo="; 24 }; 25 26 build-system = [ poetry-core ]; 27 28 pythonRelaxDeps = [ "referencing" ]; 29 30 propagatedBuildInputs = [ 31 pathable 32 pyyaml 33 referencing 34 ]; 35 36 pythonImportsCheck = [ "jsonschema_path" ]; 37 38 nativeCheckInputs = [ 39 pytest-cov-stub 40 pytestCheckHook 41 responses 42 ]; 43 44 meta = { 45 changelog = "https://github.com/p1c2u/jsonschema-path/releases/tag/${version}"; 46 description = "JSONSchema Spec with object-oriented paths"; 47 homepage = "https://github.com/p1c2u/jsonschema-path"; 48 license = lib.licenses.asl20; 49 maintainers = with lib.maintainers; [ dotlambda ]; 50 }; 51}