1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, python 6, numpy 7}: 8 9buildPythonPackage rec { 10 pname = "traits"; 11 version = "6.3.2"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "4520ef4a675181f38be4a5bab1b1d5472691597fe2cfe4faf91023e89407e2c6"; 17 }; 18 19 propagatedBuildInputs = [ numpy ]; 20 21 # Test suite is broken for 3.x on latest release 22 # https://github.com/enthought/traits/issues/187 23 # https://github.com/enthought/traits/pull/188 24 # Furthermore, some tests fail due to being in a chroot 25 doCheck = false; 26 27 meta = with lib; { 28 description = "Explicitly typed attributes for Python"; 29 homepage = "https://pypi.python.org/pypi/traits"; 30 license = licenses.bsd3; 31 maintainers = with maintainers; [ ]; 32 }; 33}