diff --git a/pkgs/development/python-modules/traittypes/default.nix b/pkgs/development/python-modules/traittypes/default.nix index da3d1f54fb5a533..b44cb6407142dee 100644 --- a/pkgs/development/python-modules/traittypes/default.nix +++ b/pkgs/development/python-modules/traittypes/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, isPy27, pytestCheckHook, + setuptools, numpy, pandas, xarray, @@ -13,7 +14,7 @@ buildPythonPackage rec { pname = "traittypes"; version = "unstable-2020-07-17"; - format = "setuptools"; + pyproject = true; disabled = isPy27; @@ -29,7 +30,9 @@ buildPythonPackage rec { --replace-fail "np.int" "int" ''; - propagatedBuildInputs = [ traitlets ]; + build-system = [ setuptools ]; + + dependencies = [ traitlets ]; nativeCheckInputs = [ numpy @@ -40,10 +43,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "traittypes" ]; - meta = with lib; { + meta = { description = "Trait types for NumPy, SciPy, XArray, and Pandas"; homepage = "https://github.com/jupyter-widgets/traittypes"; - license = licenses.bsd3; - maintainers = with maintainers; [ bcdarwin ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ bcdarwin ]; }; }