mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
42 lines
623 B
Nix
42 lines
623 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, cython
|
|
, numpy
|
|
, scipy
|
|
, sympy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydy";
|
|
version = "0.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1b487a62b55a8c8664009b09bf789254b2c942cd704a380bedb1057418c94fa2";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|