blob: 89cf7d910127ed062267cb9f9cc40a6e27548cb8 (
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
45
46
47
48
|
{ lib
, buildPythonPackage
, fetchPypi
, gmpy2
, isort
, mpmath
, numpy
, pythonOlder
, scipy
, setuptools-scm
}:
buildPythonPackage rec {
pname = "diofant";
version = "0.13.0";
disabled = pythonOlder "3.9";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "Diofant";
sha256 = "bac9e086a7156b20f18e3291d6db34e305338039a3c782c585302d377b74dd3c";
};
nativeBuildInputs = [
isort
setuptools-scm
];
propagatedBuildInputs = [
gmpy2
mpmath
numpy
scipy
];
# tests take ~1h
doCheck = false;
pythonImportsCheck = [ "diofant" ];
meta = with lib; {
description = "A Python CAS library";
homepage = "https://diofant.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ suhr ];
};
}
|