nixpkgs/pkgs/development/python-modules/traits/default.nix

35 lines
642 B
Nix
Raw Normal View History

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