21 buildPythonPackage rec {
22 pname = "jsonschema-spec";
26 disabled = pythonOlder "3.8";
28 src = fetchFromGitHub {
31 rev = "refs/tags/${version}";
32 hash = "sha256-oBzB6Ke19QDcMQm4MpnaS132/prrtnCekAXuPMloZx4=";
36 sed -i "/^--cov/d" pyproject.toml
38 substituteInPlace pyproject.toml \
39 --replace 'referencing = ">=0.28.0,<0.30.0"' 'referencing = ">=0.28.0"'
46 pythonRelaxDeps = [ "referencing" ];
48 propagatedBuildInputs = [
60 passthru.skipBulkUpdate = true; # newer versions under the jsonschema-path name
63 changelog = "https://github.com/p1c2u/jsonschema-spec/releases/tag/${version}";
64 description = "JSONSchema Spec with object-oriented paths";
65 homepage = "https://github.com/p1c2u/jsonschema-spec";
66 license = licenses.asl20;
67 maintainers = with maintainers; [ hexa ];