depot/third_party/nixpkgs/pkgs/development/python-modules/pydy/default.nix

42 lines
612 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, nose
, cython
, numpy
, scipy
, sympy
}:
buildPythonPackage rec {
pname = "pydy";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-e/Ssfd5llioA7ccLULlRdHR113IbR4AJ4/HmzQuU7vI=";
};
checkInputs = [
nose
cython
];
propagatedBuildInputs = [
numpy
scipy
sympy
];
checkPhase = ''
nosetests
'';
meta = with lib; {
description = "Python tool kit for multi-body dynamics";
homepage = "http://pydy.org";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}