nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatch-vcs,
6 hatchling,
7 pytestCheckHook,
8 referencing,
9}:
10
11buildPythonPackage rec {
12 pname = "jsonschema-specifications";
13 version = "2025.9.1";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "jsonschema_specifications";
18 inherit version;
19 hash = "sha256-tUCYfyOedFYTx6kXbz7bcrgypKxGXPAnEiiDl4MrXo0=";
20 };
21
22 nativeBuildInputs = [
23 hatch-vcs
24 hatchling
25 ];
26
27 propagatedBuildInputs = [
28 referencing
29 ];
30
31 nativeCheckInputs = [ pytestCheckHook ];
32
33 pythonImportsCheck = [ "jsonschema_specifications" ];
34
35 meta = {
36 description = "Support files exposing JSON from the JSON Schema specifications";
37 homepage = "https://github.com/python-jsonschema/jsonschema-specifications";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ SuperSandro2000 ];
40 };
41}