2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-28 15:46:44 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-01-13 09:44:27 +00:00
|
|
|
, pythonOlder
|
2018-10-28 15:46:44 +00:00
|
|
|
, numpy
|
2022-01-13 09:44:27 +00:00
|
|
|
, pytestCheckHook
|
2018-10-28 15:46:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "traits";
|
2021-11-15 10:45:40 +00:00
|
|
|
version = "6.3.2";
|
2022-01-13 09:44:27 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-10-28 15:46:44 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-15 10:45:40 +00:00
|
|
|
sha256 = "4520ef4a675181f38be4a5bab1b1d5472691597fe2cfe4faf91023e89407e2c6";
|
2018-10-28 15:46:44 +00:00
|
|
|
};
|
|
|
|
|
2022-01-13 09:44:27 +00:00
|
|
|
# Circular dependency
|
2020-05-04 19:32:01 +01:00
|
|
|
doCheck = false;
|
2018-10-28 15:46:44 +00:00
|
|
|
|
2022-01-13 09:44:27 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"traits"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-28 15:46:44 +00:00
|
|
|
description = "Explicitly typed attributes for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/traits";
|
2021-10-08 23:23:17 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ ];
|
2018-10-28 15:46:44 +00:00
|
|
|
};
|
|
|
|
}
|