summary refs log tree commit diff
path: root/pkgs/development/python-modules/pydy/default.nix
blob: b342a2a99e03b70ef35e6724d15e954b5b6f2132 (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
, nose
, cython
, numpy
, scipy
, sympy
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "pydy";
  version = "0.6.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-e/Ssfd5llioA7ccLULlRdHR113IbR4AJ4/HmzQuU7vI=";
  };

  propagatedBuildInputs = [
    numpy
    scipy
    sympy
  ];

  checkInputs = [
    nose
    cython
    pytestCheckHook
  ];

  disabledTests = [
    # Tests not fixed yet. Check https://github.com/pydy/pydy/issues/465
    "test_generate_cse"
    "test_generate_code_blocks"
    "test_doprint"
    "test_OctaveMatrixGenerator"
  ];

  meta = with lib; {
    description = "Python tool kit for multi-body dynamics";
    homepage = "http://pydy.org";
    license = licenses.bsd3;
    maintainers = [ maintainers.costrouc ];
  };
}