16 self = buildPythonPackage rec {
17 pname = "referencing";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
24 owner = "python-jsonschema";
26 rev = "refs/tags/v${version}";
27 fetchSubmodules = true;
28 hash = "sha256-C2gKjoaMcUWz/QOsqpv4TkozQyI+zEIQf3GMf5w40aw=";
31 SETUPTOOLS_SCM_PRETEND_VERSION = version;
38 propagatedBuildInputs = [
49 # avoid infinite recursion with jsonschema
52 passthru.tests.referencing = self.overridePythonAttrs { doCheck = true; };
54 pythonImportsCheck = [
59 description = "Cross-specification JSON referencing";
60 homepage = "https://github.com/python-jsonschema/referencing";
61 changelog = "https://github.com/python-jsonschema/referencing/blob/${version}/CHANGELOG.rst";
62 license = licenses.mit;
63 maintainers = with maintainers; [ fab ];