mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
33 lines
625 B
Nix
33 lines
625 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
fetchpatch2,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "traits";
|
|
version = "7.0.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-pWNRWAnLORGXXeWlQgmFXwtv23ymkSpegd4mUp9wQow=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "traits" ];
|
|
|
|
meta = {
|
|
description = "Explicitly typed attributes for Python";
|
|
homepage = "https://pypi.python.org/pypi/traits";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
|
};
|
|
}
|