depot/third_party/nixpkgs/pkgs/development/python-modules/pydy/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

52 lines
750 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
scipy,
sympy,
setuptools,
nose,
cython,
}:
buildPythonPackage rec {
pname = "pydy";
version = "0.7.1";
pyproject = true;
build-system = [ setuptools ];
src = fetchPypi {
inherit pname version;
hash = "sha256-aaRinJMGR8v/OVkeSp1hA4+QLOrmDWq50wvA6b/suvk=";
};
dependencies = [
numpy
scipy
sympy
];
nativeCheckInputs = [
nose
cython
];
checkPhase = ''
runHook preCheck
nosetests pydy
runHook postCheck
'';
pythonImportsCheck = [ "pydy" ];
meta = with lib; {
description = "Python tool kit for multi-body dynamics";
homepage = "http://pydy.org";
license = licenses.bsd3;
maintainers = [ ];
};
}