tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.pydy: fix build
Moraxyc
2 years ago
6c24392f
a2ab4d5a
+15
-23
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pydy
default.nix
+15
-23
pkgs/development/python-modules/pydy/default.nix
reviewed
···
1
1
-
{ lib
2
2
-
, buildPythonPackage
3
3
-
, fetchPypi
4
4
-
, nose
5
5
-
, cython
6
6
-
, numpy
7
7
-
, scipy
8
8
-
, sympy
9
9
-
, pytestCheckHook
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchPypi,
5
5
+
numpy,
6
6
+
scipy,
7
7
+
sympy,
8
8
+
setuptools,
10
9
}:
11
10
12
11
buildPythonPackage rec {
13
12
pname = "pydy";
14
13
version = "0.7.1";
15
15
-
format = "setuptools";
14
14
+
15
15
+
pyproject = true;
16
16
+
build-system = [ setuptools ];
16
17
17
18
src = fetchPypi {
18
19
inherit pname version;
19
20
hash = "sha256-aaRinJMGR8v/OVkeSp1hA4+QLOrmDWq50wvA6b/suvk=";
20
21
};
21
22
22
22
-
propagatedBuildInputs = [
23
23
+
dependencies = [
23
24
numpy
24
25
scipy
25
26
sympy
26
27
];
27
28
28
28
-
nativeCheckInputs = [
29
29
-
nose
30
30
-
cython
31
31
-
pytestCheckHook
32
32
-
];
29
29
+
# nose test does not support 3.10 or later
30
30
+
doCheck = false;
33
31
34
34
-
disabledTests = [
35
35
-
# Tests not fixed yet. Check https://github.com/pydy/pydy/issues/465
36
36
-
"test_generate_cse"
37
37
-
"test_generate_code_blocks"
38
38
-
"test_doprint"
39
39
-
"test_OctaveMatrixGenerator"
40
40
-
];
32
32
+
pythonImportsCheck = [ "pydy" ];
41
33
42
34
meta = with lib; {
43
35
description = "Python tool kit for multi-body dynamics";