Merge pull request #172948 from WolfangAukang/pydy-fix

python39Packages.pydy: fix build
This commit is contained in:
Robert Scott 2022-05-19 21:20:23 +01:00 committed by GitHub
commit 6fe704d008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";