pythonPackages.pymbolic: init at 2018.1

This commit is contained in:
Chris Ostrouchov 2019-04-15 17:13:24 -04:00
parent 2e3242191f
commit b536b12b7b
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytools
, pytest
, six
, sympy
, pexpect
, symengine
}:
buildPythonPackage rec {
pname = "pymbolic";
version = "2018.1";
src = fetchPypi {
inherit pname version;
sha256 = "a47d5524d6a3cdc8a028079ce632eeb45ceea7243272d234f250622087688207";
};
postConfigure = ''
substituteInPlace setup.py \
--replace "\"pytest>=2.3\"," ""
'';
checkInputs = [ sympy pexpect symengine pytest ];
propagatedBuildInputs = [
pytools
six
];
# too many tests fail
doCheck = false;
checkPhase = ''
pytest test
'';
meta = with lib; {
description = "A package for symbolic computation";
homepage = https://mathema.tician.de/software/pymbolic;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -2244,6 +2244,8 @@ in {
pylama = callPackage ../development/python-modules/pylama { };
pymbolic = callPackage ../development/python-modules/pymbolic { };
pymediainfo = callPackage ../development/python-modules/pymediainfo { };
pyphen = callPackage ../development/python-modules/pyphen {};