python2Packages.attrs: drop

This commit is contained in:
Sigmanificient
2026-01-15 01:41:06 +01:00
parent 7ca75c4811
commit fa13e71eb9
2 changed files with 1 additions and 43 deletions
@@ -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 = [ ];
};
}
+1 -1
View File
@@ -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 { });