depot/third_party/nixpkgs/pkgs/development/python-modules/pydy/default.nix
Default email ed0c4a69f0 Project import generated by Copybara.
GitOrigin-RevId: e3652e0735fbec227f342712f180f4f21f0594f2
2023-03-31 00:05:00 +02:00

48 lines
847 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, cython
, numpy
, scipy
, sympy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pydy";
version = "0.7.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-aaRinJMGR8v/OVkeSp1hA4+QLOrmDWq50wvA6b/suvk=";
};
propagatedBuildInputs = [
numpy
scipy
sympy
];
nativeCheckInputs = [
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";
homepage = "http://pydy.org";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}