diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-05-22 14:26:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 14:26:13 +0200 |
commit | 0d374f621c985dfe38b305e77db74ebf5dcfac2b (patch) | |
tree | d0fbb77677be78974c6d6ffd6ac8cecb0a28de19 /pkgs/development | |
parent | 6e526680c8990bc6f9ac324c2a30f3f46042035f (diff) | |
parent | 6c24392f35c2e67ae05fd52898feccad91fa38ac (diff) |
Merge pull request #313627 from Moraxyc/fix-pydy
python3Packages.pydy: fix build
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/pydy/default.nix | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/pydy/default.nix b/pkgs/development/python-modules/pydy/default.nix index c7ee5359bee41..613bf25632144 100644 --- a/pkgs/development/python-modules/pydy/default.nix +++ b/pkgs/development/python-modules/pydy/default.nix @@ -1,43 +1,35 @@ -{ lib -, buildPythonPackage -, fetchPypi -, nose -, cython -, numpy -, scipy -, sympy -, pytestCheckHook +{ + lib, + buildPythonPackage, + fetchPypi, + numpy, + scipy, + sympy, + setuptools, }: buildPythonPackage rec { pname = "pydy"; version = "0.7.1"; - format = "setuptools"; + + pyproject = true; + build-system = [ setuptools ]; src = fetchPypi { inherit pname version; hash = "sha256-aaRinJMGR8v/OVkeSp1hA4+QLOrmDWq50wvA6b/suvk="; }; - propagatedBuildInputs = [ + dependencies = [ numpy scipy sympy ]; - nativeCheckInputs = [ - nose - cython - pytestCheckHook - ]; + # nose test does not support 3.10 or later + doCheck = false; - disabledTests = [ - # Tests not fixed yet. Check https://github.com/pydy/pydy/issues/465 - "test_generate_cse" - "test_generate_code_blocks" - "test_doprint" - "test_OctaveMatrixGenerator" - ]; + pythonImportsCheck = [ "pydy" ]; meta = with lib; { description = "Python tool kit for multi-body dynamics"; |