python3Packages.jsonschema-spec: drop

This is a duplicate of jsonschema-path, which it was renamed to 3 years
ago. The package is a leaf and its removal causes no problems in-tree.
This commit is contained in:
Martin Weinelt
2026-05-05 15:48:53 +02:00
parent b62a7aa26a
commit 5ebb77c0f5
3 changed files with 1 additions and 68 deletions
@@ -1,66 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build
poetry-core,
# propagates
pathable,
pyyaml,
referencing,
requests,
# tests
pytestCheckHook,
pytest-cov-stub,
responses,
}:
buildPythonPackage rec {
pname = "jsonschema-spec";
version = "0.4.6";
pyproject = true;
src = fetchFromGitHub {
owner = "p1c2u";
repo = "jsonschema-spec";
tag = version;
hash = "sha256-abAhWtBnZUeg1VGphfnvxPzSnPM6VjM/XKLPJVIrIXg=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'referencing = ">=0.28.0,<0.30.0"' 'referencing = ">=0.28.0"'
'';
nativeBuildInputs = [
poetry-core
];
pythonRelaxDeps = [ "referencing" ];
propagatedBuildInputs = [
pathable
pyyaml
referencing
requests
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
responses
];
passthru.skipBulkUpdate = true; # newer versions under the jsonschema-path name
meta = {
changelog = "https://github.com/p1c2u/jsonschema-spec/releases/tag/${version}";
description = "JSONSchema Spec with object-oriented paths";
homepage = "https://github.com/p1c2u/jsonschema-spec";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
}
+1
View File
@@ -279,6 +279,7 @@ mapAliases {
JPype1 = throw "'JPype1' has been renamed to/replaced by 'jpype1'"; # Converted to throw 2025-10-29
jsonfield = throw "'jsonfield' has been removed as it was broken and deprecated upstream. Consider using Django's native `JSONField` instead."; # Added 2025-11-08
jsonpath_rw = throw "'jsonpath_rw' has been renamed to/replaced by 'jsonpath-rw'"; # Converted to throw 2025-10-29
jsonschema-spec = jsonschema-path;
jupyter-server-ydoc = throw "'jupyter-server-ydoc' has been renamed to/replaced by 'jupyter-collaboration'"; # Converted to throw 2025-10-29
jupyter_client = throw "'jupyter_client' has been renamed to/replaced by 'jupyter-client'"; # Converted to throw 2025-10-29
jupyter_console = throw "'jupyter_console' has been renamed to/replaced by 'jupyter-console'"; # Converted to throw 2025-10-29
-2
View File
@@ -8069,8 +8069,6 @@ self: super: with self; {
jsonschema-rs = callPackage ../development/python-modules/jsonschema-rs { };
jsonschema-spec = callPackage ../development/python-modules/jsonschema-spec { };
jsonschema-specifications = callPackage ../development/python-modules/jsonschema-specifications { };
jsonslicer = callPackage ../development/python-modules/jsonslicer { };