Commit 9d4f140a authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.pizzapi: drop

parent e99479e3
Loading
Loading
Loading
Loading
+0 −52
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  requests,
  xmltodict,
  pyhamcrest,
  mock,
  pytestCheckHook,
}:

buildPythonPackage {
  pname = "pizzapi";
  version = "0.0.6";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ggrammar";
    repo = "pizzapi";
    rev = "2a67ceb0f6df285988f1a2d7b678bbd2526c26a4";
    hash = "sha256-oBwNNsnRhm/kv8DxNrAKkeGv2RZA+RMdYRgByy3qmsU=";
  };

  postPatch = ''
    # Remove pytest-runner from setup_requires
    substituteInPlace setup.py \
      --replace-fail 'setup_requires=["pytest-runner"],' 'setup_requires=[],'
  '';

  build-system = [ setuptools ];

  dependencies = [
    requests
    xmltodict
    pyhamcrest
  ];

  nativeCheckInputs = [
    mock
    pytestCheckHook
  ];

  pythonImportsCheck = [ "pizzapi" ];

  meta = {
    description = "Python wrapper for the Dominos Pizza API";
    homepage = "https://github.com/ggrammar/pizzapi";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -301,6 +301,7 @@ mapAliases {
  pep257 = throw "'pep257' has been renamed to/replaced by 'pydocstyle'"; # Converted to throw 2025-10-29
  percol = throw "percol has been removed because it hasn't been updated since 2019"; # added 2025-05-25
  pillow-avif-plugin = throw "'pillow-avif-plugin' has been removed because 'pillow' has native avif support since 11.3"; # added 2025-11-26
  pizzapi = throw "pizzapi was removed because it no longer works"; # added 2025-12-03
  plumlightpad = throw "plumlightpad has been removed because the API was shut down"; # added 2025-11-04
  Polygon3 = throw "'Polygon3' has been renamed to/replaced by 'polygon3'"; # Converted to throw 2025-10-29
  posix_ipc = throw "'posix_ipc' has been renamed to/replaced by 'posix-ipc'"; # Converted to throw 2025-10-29
+0 −2
Original line number Diff line number Diff line
@@ -12116,8 +12116,6 @@ self: super: with self; {
  pixelmatch = callPackage ../development/python-modules/pixelmatch { };
  pizzapi = callPackage ../development/python-modules/pizzapi { };
  pjsua2 =
    (toPythonModule (
      pkgs.pjsip.override {