1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 numpy,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "traits";
12 version = "6.4.3";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-qbv9ngwIt94H6G72TmnLlqKcIQWkO/gyzYsWL6HiL0Q=";
20 };
21
22 # Circular dependency
23 doCheck = false;
24
25 pythonImportsCheck = [ "traits" ];
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}