From 7d1f2d40afac2b7fe58b7d9fe7d5196720467b96 Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 21 Dec 2023 14:12:12 +0900 Subject: [PATCH] python311Packages.cacheyou: remove cacheyou has been removed as it was no longer used for the only consumer pdm --- .../python-modules/cacheyou/default.nix | 62 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 64 deletions(-) delete mode 100644 pkgs/development/python-modules/cacheyou/default.nix diff --git a/pkgs/development/python-modules/cacheyou/default.nix b/pkgs/development/python-modules/cacheyou/default.nix deleted file mode 100644 index 375beadd4f6d..000000000000 --- a/pkgs/development/python-modules/cacheyou/default.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ lib -, buildPythonPackage -, cherrypy -, fetchPypi -, filelock -, msgpack -, pdm-backend -, pytestCheckHook -, pythonOlder -, redis -, requests -}: - -buildPythonPackage rec { - pname = "cacheyou"; - version = "23.3"; - format = "pyproject"; - - disabled = pythonOlder "3.7"; - - __darwinAllowLocalNetworking = true; - - src = fetchPypi { - inherit pname version; - hash = "sha256-fkCPFfSXj+oiR3NLMIYh919/4Wm0YWeVGccuioXWHV0="; - }; - - nativeBuildInputs = [ - pdm-backend - ]; - - propagatedBuildInputs = [ - msgpack - requests - ]; - - passthru.optional-dependencies = { - filecache = [ - filelock - ]; - redis = [ - redis - ]; - }; - - nativeCheckInputs = [ - cherrypy - pytestCheckHook - ] ++ passthru.optional-dependencies.filecache; - - pythonImportsCheck = [ - "cacheyou" - ]; - - meta = { - description = "The httplib2 caching algorithms packaged up for use with requests"; - homepage = "https://github.com/frostming/cacheyou"; - changelog = "https://github.com/frostming/cacheyou/releases/tag/${version}"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ natsukium ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index fc1cd2d4a174..5fe0e98b9a2d 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -76,6 +76,7 @@ mapAliases ({ buildbot-pkg = throw "buildbot-pkg has been removed, it's only internally used in buildbot"; # added 2022-04-07 bt_proximity = bt-proximity; # added 2021-07-02 BTrees = btrees; # added 2023-02-19 + cacheyou = throw "cacheyou has been removed, as it was no longer used for the only consumer pdm"; # added 2023-12-21 carrot = throw "carrot has been removed, as its development was discontinued in 2012"; # added 2022-01-18 cchardet = faust-cchardet; # added 2023-03-02 class-registry = phx-class-registry; # added 2021-10-05 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b7e146431297..523b28ba3ac8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1759,8 +1759,6 @@ self: super: with self; { cachey = callPackage ../development/python-modules/cachey { }; - cacheyou = callPackage ../development/python-modules/cacheyou { }; - cachier = callPackage ../development/python-modules/cachier { }; cachy = callPackage ../development/python-modules/cachy { };