lol

python3Packages.pydy: fix build

Moraxyc 6c24392f a2ab4d5a

+15 -23
+15 -23
pkgs/development/python-modules/pydy/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , nose 5 - , cython 6 - , numpy 7 - , scipy 8 - , sympy 9 - , pytestCheckHook 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + numpy, 6 + scipy, 7 + sympy, 8 + setuptools, 10 9 }: 11 10 12 11 buildPythonPackage rec { 13 12 pname = "pydy"; 14 13 version = "0.7.1"; 15 - format = "setuptools"; 14 + 15 + pyproject = true; 16 + build-system = [ setuptools ]; 16 17 17 18 src = fetchPypi { 18 19 inherit pname version; 19 20 hash = "sha256-aaRinJMGR8v/OVkeSp1hA4+QLOrmDWq50wvA6b/suvk="; 20 21 }; 21 22 22 - propagatedBuildInputs = [ 23 + dependencies = [ 23 24 numpy 24 25 scipy 25 26 sympy 26 27 ]; 27 28 28 - nativeCheckInputs = [ 29 - nose 30 - cython 31 - pytestCheckHook 32 - ]; 29 + # nose test does not support 3.10 or later 30 + doCheck = false; 33 31 34 - disabledTests = [ 35 - # Tests not fixed yet. Check https://github.com/pydy/pydy/issues/465 36 - "test_generate_cse" 37 - "test_generate_code_blocks" 38 - "test_doprint" 39 - "test_OctaveMatrixGenerator" 40 - ]; 32 + pythonImportsCheck = [ "pydy" ]; 41 33 42 34 meta = with lib; { 43 35 description = "Python tool kit for multi-body dynamics";