From 06047727b05d1b0ad35a76ccc542b4b5df172caf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 5 Jul 2021 22:49:12 +0200 Subject: [PATCH] python3Packages.diofant: 0.10.0 -> 0.12.0 --- .../python-modules/diofant/default.nix | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/diofant/default.nix b/pkgs/development/python-modules/diofant/default.nix index f99e17137de9..5a2e6e60b830 100644 --- a/pkgs/development/python-modules/diofant/default.nix +++ b/pkgs/development/python-modules/diofant/default.nix @@ -1,39 +1,42 @@ { lib -, isPy3k , buildPythonPackage , fetchPypi -, pytestrunner -, setuptools-scm +, gmpy2 , isort , mpmath -, strategies +, numpy +, pythonOlder +, scipy +, setuptools-scm }: buildPythonPackage rec { pname = "diofant"; - version = "0.10.0"; + version = "0.12.0"; + disabled = pythonOlder "3.9"; src = fetchPypi { inherit version; pname = "Diofant"; - sha256 = "0qjg0mmz2cqxryr610mppx3virf1gslzrsk24304502588z53v8w"; + sha256 = "sha256-G0CTSoDSduiWxlrk5XjnX5ldNZ9f7yxaJeUPO3ezJgo="; }; nativeBuildInputs = [ isort - pytestrunner setuptools-scm ]; propagatedBuildInputs = [ + gmpy2 mpmath - strategies + numpy + scipy ]; # tests take ~1h doCheck = false; - disabled = !isPy3k; + pythonImportsCheck = [ "diofant" ]; meta = with lib; { description = "A Python CAS library";