diff options
author | Robert Scott <code@humanleg.org.uk> | 2022-05-19 21:20:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 21:20:23 +0100 |
commit | 6fe704d008a9254238f99f171cb36600ec5fade7 (patch) | |
tree | 717f2e7fb48cc657c6a992a20c596a2333d8143b | |
parent | 8c6deb650a644f0e9ce02cfef895cbdaa188985d (diff) | |
parent | 060e417ef2929843a1135965a012303af6407591 (diff) |
Merge pull request #172948 from WolfangAukang/pydy-fix
python39Packages.pydy: fix build
-rw-r--r-- | pkgs/development/python-modules/pydy/default.nix | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pydy/default.nix b/pkgs/development/python-modules/pydy/default.nix index 9bfa5aa3d7c30..b342a2a99e03b 100644 --- a/pkgs/development/python-modules/pydy/default.nix +++ b/pkgs/development/python-modules/pydy/default.nix @@ -6,31 +6,38 @@ , numpy , scipy , sympy +, pytestCheckHook }: buildPythonPackage rec { pname = "pydy"; version = "0.6.0"; + format = "setuptools"; src = fetchPypi { inherit pname version; sha256 = "sha256-e/Ssfd5llioA7ccLULlRdHR113IbR4AJ4/HmzQuU7vI="; }; - checkInputs = [ - nose - cython - ]; - propagatedBuildInputs = [ numpy scipy sympy ]; - checkPhase = '' - nosetests - ''; + 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"; |