python39Packages.pydy: fix build

main
P. R. d. O 2 years ago
parent 66e01d3478
commit 060e417ef2
No known key found for this signature in database
GPG Key ID: 7B0FF33FF90110C7
  1. 23
      pkgs/development/python-modules/pydy/default.nix

@ -6,31 +6,38 @@
, numpy , numpy
, scipy , scipy
, sympy , sympy
, pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pydy"; pname = "pydy";
version = "0.6.0"; version = "0.6.0";
format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-e/Ssfd5llioA7ccLULlRdHR113IbR4AJ4/HmzQuU7vI="; sha256 = "sha256-e/Ssfd5llioA7ccLULlRdHR113IbR4AJ4/HmzQuU7vI=";
}; };
checkInputs = [
nose
cython
];
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
scipy scipy
sympy sympy
]; ];
checkPhase = '' checkInputs = [
nosetests 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; { meta = with lib; {
description = "Python tool kit for multi-body dynamics"; description = "Python tool kit for multi-body dynamics";

Loading…
Cancel
Save