Skip to content

Commit

Permalink
python312Packages.pydy: drop nose dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Aug 21, 2024
1 parent 4c30668 commit e25f68d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions pkgs/development/python-modules/pydy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,47 +6,47 @@
scipy,
sympy,
setuptools,
nose,
pytestCheckHook,
cython,
fetchpatch2,
}:

buildPythonPackage rec {
pname = "pydy";
version = "0.7.1";

pyproject = true;

build-system = [ setuptools ];

src = fetchPypi {
inherit pname version;
hash = "sha256-aaRinJMGR8v/OVkeSp1hA4+QLOrmDWq50wvA6b/suvk=";
};

patches = [
(fetchpatch2 {
url = "https://github.com/pydy/pydy/commit/49c80cfeb2be55c1eac1f2ac552c678b4154f473.patch?full_index=1";
hash = "sha256-hIuJL884gEYU80el5hXCgR+I7DaghNNxebfsHDhMy04=";
})
];

dependencies = [
numpy
scipy
sympy
];

nativeCheckInputs = [
nose
pytestCheckHook
cython
];

checkPhase = ''
runHook preCheck
nosetests pydy
runHook postCheck
'';

pythonImportsCheck = [ "pydy" ];

meta = with lib; {
meta = {
description = "Python tool kit for multi-body dynamics";
homepage = "http://pydy.org";
license = licenses.bsd3;
maintainers = [ ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}

0 comments on commit e25f68d

Please sign in to comment.