diff options
Diffstat (limited to 'pkgs/development/python-modules/nutils/default.nix')
-rw-r--r-- | pkgs/development/python-modules/nutils/default.nix | 56 |
1 files changed, 29 insertions, 27 deletions
diff --git a/pkgs/development/python-modules/nutils/default.nix b/pkgs/development/python-modules/nutils/default.nix index 3447f4deddf3..f8ac839989fa 100644 --- a/pkgs/development/python-modules/nutils/default.nix +++ b/pkgs/development/python-modules/nutils/default.nix @@ -1,48 +1,50 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchFromGitHub -, numpy -, treelog -, stringly -, flit-core -, bottombar -, pytestCheckHook -, pythonOlder +{ + lib, + buildPythonPackage, + fetchFromGitHub, + flit-core, + appdirs, + bottombar, + numpy, + nutils-poly, + psutil, + stringly, + treelog, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { pname = "nutils"; - version = "8.6"; - format = "pyproject"; + version = "8.8"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "evalf"; repo = "nutils"; rev = "refs/tags/v${version}"; - hash = "sha256-vfdb7+jcJ5EuWDoZyRExWEPEWt+lgbzmAL3QhguLtHE="; + hash = "sha256-E/y1YXW+0+LfntRQsdIU9rMOmN8mlFwXktD/sViJo3I="; }; - nativeBuildInputs = [ - flit-core - ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ + dependencies = [ + appdirs + bottombar numpy - treelog + nutils-poly + psutil stringly - bottombar + treelog ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + pythonRelaxDeps = [ "psutil" ]; - pythonImportsCheck = [ - "nutils" - ]; + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "nutils" ]; disabledTestPaths = [ # AttributeError: type object 'setup' has no attribute '__code__' |