2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
34 lines
627 B
Nix
34 lines
627 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, numpy
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "traits";
|
|
version = "6.4.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-qbv9ngwIt94H6G72TmnLlqKcIQWkO/gyzYsWL6HiL0Q=";
|
|
};
|
|
|
|
# Circular dependency
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"traits"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Explicitly typed attributes for Python";
|
|
homepage = "https://pypi.python.org/pypi/traits";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|