Merge pull request #65234 from suhr/diofant

pythonPackages.diofant: init at 0.10.0
This commit is contained in:
worldofpeace 2019-07-29 03:30:22 -04:00 committed by GitHub
commit 22d000f062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
{ lib
, isPy3k
, buildPythonPackage
, fetchPypi
, pytestrunner
, setuptools_scm
, isort
, mpmath
, strategies
}:
buildPythonPackage rec {
pname = "diofant";
version = "0.10.0";
src = fetchPypi {
inherit version;
pname = "Diofant";
sha256 = "0qjg0mmz2cqxryr610mppx3virf1gslzrsk24304502588z53v8w";
};
nativeBuildInputs = [
isort
pytestrunner
setuptools_scm
];
propagatedBuildInputs = [
mpmath
strategies
];
# tests take ~1h
doCheck = false;
disabled = !isPy3k;
meta = with lib; {
description = "A Python CAS library";
homepage = "https://diofant.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ suhr ];
};
}

View file

@ -502,6 +502,8 @@ in {
diff_cover = callPackage ../development/python-modules/diff_cover { };
diofant = callPackage ../development/python-modules/diofant { };
docrep = callPackage ../development/python-modules/docrep { };
dominate = callPackage ../development/python-modules/dominate { };