Merge pull request #172125 from r-ryantm/auto-update/python3.10-pymbolic

python310Packages.pymbolic: 2021.1 -> 2022.1
main
Sandro 2 years ago committed by GitHub
commit ecc106108c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 29
      pkgs/development/python-modules/pymbolic/default.nix

@ -1,43 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, matchpy
, pytools
, pytest
, six
, sympy
, pexpect
, symengine
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pymbolic";
version = "2021.1";
version = "2022.1";
src = fetchPypi {
inherit pname version;
sha256 = "67d08ef95568408901e59f79591ba41fd3f2caaecb42b7497c38fc82fd60358c";
sha256 = "sha256-tS9FHdC5gD4D3jMgrzt85XIwcAYcbSMcACFvbaQlkBI=";
};
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
'';
checkInputs = [
matchpy
pytestCheckHook
];
meta = with lib; {
description = "A package for symbolic computation";
homepage = "https://mathema.tician.de/software/pymbolic";
homepage = "https://documen.tician.de/pymbolic/";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};

Loading…
Cancel
Save