diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/traits/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/traits/default.nix | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/traits/default.nix b/nixpkgs/pkgs/development/python-modules/traits/default.nix index e4e82db9e446..4e93f1369dd3 100644 --- a/nixpkgs/pkgs/development/python-modules/traits/default.nix +++ b/nixpkgs/pkgs/development/python-modules/traits/default.nix @@ -3,28 +3,21 @@ , fetchPypi , isPy27 , python -, pytest , numpy }: buildPythonPackage rec { pname = "traits"; - version = "6.2.0"; - disabled = isPy27; # setup.py no longer py3 compat + version = "6.3.2"; + disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "16fa1518b0778fd53bf0547e6a562b1787bf68c8f6b7995a13bd1902529fdb0c"; + sha256 = "4520ef4a675181f38be4a5bab1b1d5472691597fe2cfe4faf91023e89407e2c6"; }; - # Use pytest because its easier to discover tests - buildInputs = [ pytest ]; propagatedBuildInputs = [ numpy ]; - checkPhase = '' - py.test $out/${python.sitePackages} - ''; - # Test suite is broken for 3.x on latest release # https://github.com/enthought/traits/issues/187 # https://github.com/enthought/traits/pull/188 @@ -34,7 +27,7 @@ buildPythonPackage rec { meta = with lib; { description = "Explicitly typed attributes for Python"; homepage = "https://pypi.python.org/pypi/traits"; - license = "BSD"; + license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; - } |