Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
997 B
Nix
47 lines
997 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatch-vcs,
|
|
hatchling,
|
|
importlib-resources,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
referencing,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jsonschema-specifications";
|
|
version = "2025.4.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "jsonschema_specifications";
|
|
inherit version;
|
|
hash = "sha256-YwFZyfTb6hYaaiIFwwEcxPGP84Gxif/0i7Obm/Jq5gg=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|