8 buildPythonPackage rec {
11 disabled = pythonOlder "3.5";
14 inherit pname version;
15 hash = "sha256-Ka3CZlRH5RkdDnxWj954sh+WctNEKB0MbhqwhUKbIrY=";
24 # Install tests as the tests output.
26 cp -R tests $testout/tests
29 pythonImportsCheck = [
33 # pytest depends on attrs, so we can't do this out-of-the-box.
34 # Instead, we do this as a passthru.tests test.
38 pytest = callPackage ./tests.nix { };
42 description = "Python attributes without boilerplate";
43 homepage = "https://github.com/python-attrs/attrs";
44 license = licenses.mit;
45 maintainers = with maintainers; [ ];