blob: 0d13b377b13ed54dd50ba92569c46cbab0cd8ef7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 ];
};
}
|