python3Packages.attrs: 21.2.0 -> 21.4.0

This commit is contained in:
Fabian Affolter 2022-01-02 21:21:58 +01:00 committed by Jonathan Ringer
parent fec8555fb0
commit c6f7ec4c2a

View file

@ -6,14 +6,17 @@
buildPythonPackage rec {
pname = "attrs";
version = "21.2.0";
version = "21.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb";
hash = "sha256-YmuoI0IR25joad92IwoTfExAoS1yRFxF1fW3FvB24v0=";
};
outputs = [ "out" "testout" ];
outputs = [
"out"
"testout"
];
postInstall = ''
# Install tests as the tests output.
@ -21,7 +24,9 @@ buildPythonPackage rec {
cp -R tests $testout/tests
'';
pythonImportsCheck = [ "attr" ];
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.
@ -35,5 +40,6 @@ buildPythonPackage rec {
description = "Python attributes without boilerplate";
homepage = "https://github.com/hynek/attrs";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}