xwax: init at version 1.9 (#377421)
[NixPkgs.git] / pkgs / development / python-modules / jsonschema-specifications / default.nix
blob989f5c5cb1e24c1ff68b38225c745e1ee5c75485
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   hatch-vcs,
6   hatchling,
7   importlib-resources,
8   pytestCheckHook,
9   pythonOlder,
10   referencing,
13 buildPythonPackage rec {
14   pname = "jsonschema-specifications";
15   version = "2023.12.1";
16   format = "pyproject";
18   disabled = pythonOlder "3.8";
20   src = fetchPypi {
21     pname = "jsonschema_specifications";
22     inherit version;
23     hash = "sha256-SKdnh7PnD17VPxFg0rgfWG5MptFUjF3nCF0WgmdHZMw=";
24   };
26   nativeBuildInputs = [
27     hatch-vcs
28     hatchling
29   ];
31   propagatedBuildInputs = [
32     referencing
33   ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   pythonImportsCheck = [ "jsonschema_specifications" ];
39   meta = with lib; {
40     description = "Support files exposing JSON from the JSON Schema specifications";
41     homepage = "https://github.com/python-jsonschema/jsonschema-specifications";
42     license = licenses.mit;
43     maintainers = with maintainers; [ SuperSandro2000 ];
44   };