python310Packages.attrs: 22.1.0 -> 22.2.0

This commit is contained in:
Theodore Ni
2023-01-05 01:08:48 +01:00
committed by Martin Weinelt
parent 98e3547b35
commit 0b8bc5359d
2 changed files with 11 additions and 4 deletions
@@ -3,18 +3,24 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "attrs";
version = "22.1.0";
disabled = pythonOlder "3.5";
version = "22.2.0";
disabled = pythonOlder "3.6";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-Ka3CZlRH5RkdDnxWj954sh+WctNEKB0MbhqwhUKbIrY=";
hash = "sha256-ySJ7/C8BmTwD9o2zfR0VyWkBiDI8BnxkHxo1ylgYX5k=";
};
nativeBuildInputs = [
setuptools
];
outputs = [
"out"
"testout"
@@ -23,7 +29,7 @@ buildPythonPackage rec {
postInstall = ''
# Install tests as the tests output.
mkdir $testout
cp -R tests $testout/tests
cp -R conftest.py tests $testout
'';
pythonImportsCheck = [
@@ -7,6 +7,7 @@
buildPythonPackage {
pname = "attrs-tests";
inherit (attrs) version;
format = "other";
srcs = attrs.testout;