From 060e417ef2929843a1135965a012303af6407591 Mon Sep 17 00:00:00 2001 From: "P. R. d. O" Date: Wed, 18 May 2022 14:50:43 -0600 Subject: [PATCH] python39Packages.pydy: fix build --- .../python-modules/pydy/default.nix | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pydy/default.nix b/pkgs/development/python-modules/pydy/default.nix index 9bfa5aa3d7c..b342a2a99e0 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";