blob: 54b8d6df6ea1ed65df5e5444e43b6ac71dec750f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{ lib
, buildPythonPackage
, fetchPypi
, hatch-vcs
, hatchling
, importlib-resources
, pytestCheckHook
, pythonOlder
, referencing
}:
buildPythonPackage rec {
pname = "jsonschema-specifications";
version = "2023.7.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "jsonschema_specifications";
inherit version;
hash = "sha256-yRpQQE6Iofa6QGNneOLuCPbiTFYT/kxTrCRXilp/crs=";
};
nativeBuildInputs = [
hatch-vcs
hatchling
];
propagatedBuildInputs = [
referencing
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"jsonschema_specifications"
];
meta = with lib; {
description = "Support files exposing JSON from the JSON Schema specifications";
homepage = "https://github.com/python-jsonschema/jsonschema-specifications";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}
|