python310Packages.attrs: 22.1.0 -> 22.2.0
This commit is contained in:
committed by
Martin Weinelt
parent
98e3547b35
commit
0b8bc5359d
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user