From fa13e71eb91e97bff7b8997bf073bb8425fc0d6a Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 14 Jan 2026 22:00:58 +0100 Subject: [PATCH] python2Packages.attrs: drop --- .../python2-modules/attrs/default.nix | 42 ------------------- pkgs/top-level/python2-packages.nix | 2 +- 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 pkgs/development/python2-modules/attrs/default.nix diff --git a/pkgs/development/python2-modules/attrs/default.nix b/pkgs/development/python2-modules/attrs/default.nix deleted file mode 100644 index d2613cfcfb42..000000000000 --- a/pkgs/development/python2-modules/attrs/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, -}: - -buildPythonPackage rec { - pname = "attrs"; - version = "21.4.0"; - format = "setuptools"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-YmuoI0IR25joad92IwoTfExAoS1yRFxF1fW3FvB24v0="; - }; - - outputs = [ - "out" - "testout" - ]; - - postInstall = '' - # Install tests as the tests output. - mkdir $testout - cp -R tests $testout/tests - ''; - - pythonImportsCheck = [ - "attr" - ]; - - # pytest depends on attrs, so we can't do this out-of-the-box. - # Instead, we do this as a passthru.tests test. - doCheck = false; - - meta = { - description = "Python attributes without boilerplate"; - homepage = "https://github.com/hynek/attrs"; - license = lib.licenses.mit; - maintainers = [ ]; - }; -} diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index 3edf7143941c..83d9bfdd2054 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -7,7 +7,7 @@ self: super: with self; with super; { - attrs = callPackage ../development/python2-modules/attrs { }; + attrs = disabled super.attrs; bootstrapped-pip = toPythonModule (callPackage ../development/python2-modules/bootstrapped-pip { });