Unverified Commit 442dce9b authored by Robert Schütz's avatar Robert Schütz Committed by Vladimír Čunát
Browse files

python3Packages.python-jsonrpc-server: drop



It seems no longer needed.
Co-authored-by: default avatarJörg Thalheim <joerg@thalheim.io>
parent 04c99bef
Loading
Loading
Loading
Loading
+0 −55
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  mock,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  setuptools,
  ujson,
  versioneer,
}:

buildPythonPackage rec {
  pname = "python-jsonrpc-server";
  version = "0.4.0";
  pyproject = true;

  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "palantir";
    repo = "python-jsonrpc-server";
    tag = version;
    hash = "sha256-hlMw+eL1g+oe5EG7mwK8jSX0UcOQo7La+BZ3tjEojl0=";
  };

  postPatch = ''
    # Remove vendorized versioneer.py
    rm versioneer.py
  '';

  build-system = [
    setuptools
    versioneer
  ];

  dependencies = [ ujson ];

  nativeCheckInputs = [
    mock
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "pyls_jsonrpc" ];

  meta = with lib; {
    description = "Module for erver implementation of the JSON RPC 2.0 protocol";
    homepage = "https://github.com/palantir/python-jsonrpc-server";
    changelog = "https://github.com/palantir/python-jsonrpc-server/releases/tag/${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ mic92 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -365,6 +365,7 @@ mapAliases {
  python-bring-api = throw "python-bring-api was removed because Home Assistant switched to bring-api"; # added 2025-10-03
  python-ethtool = throw "'python-ethtool' has been renamed to/replaced by 'ethtool'"; # Converted to throw 2025-10-29
  python-igraph = throw "'python-igraph' has been renamed to/replaced by 'igraph'"; # Converted to throw 2025-10-29
  python-jsonrpc-server = throw "python-jsonrpc-server has been removed because it was no longer used by anything"; # added 2025-11-11
  python-Levenshtein = throw "'python-Levenshtein' has been renamed to/replaced by 'levenshtein'"; # Converted to throw 2025-10-29
  python-lz4 = throw "'python-lz4' has been renamed to/replaced by 'lz4'"; # Converted to throw 2025-10-29
  python-simple-hipchat = throw "'python-simple-hipchat' has been removed because it was broken and unmaintained"; # added 2025-08-26
+0 −2
Original line number Diff line number Diff line
@@ -15048,8 +15048,6 @@ self: super: with self; {
  python-jsonpath = callPackage ../development/python-modules/python-jsonpath { };
  python-jsonrpc-server = callPackage ../development/python-modules/python-jsonrpc-server { };
  python-juicenet = callPackage ../development/python-modules/python-juicenet { };
  python-kadmin-rs = callPackage ../development/python-modules/python-kadmin-rs { };