about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/diofant/default.nix
blob: f99e17137de9be04049c78f2ec4bb0ad5ed60d8d (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
, 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 ];
  };
}