Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 73 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ lib, buildPythonPackage, fetchPypi, h5py, ipython, numba, numpy, pytestCheckHook, setuptools, scipy, sparse,}:
buildPythonPackage rec { pname = "clifford"; version = "1.5.1"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-NISzEs/w4tXhT7mUCbgkIZPDWN+qave8bqIwxGBuZvM="; };
build-system = [ setuptools ];
dependencies = [ h5py numba numpy scipy sparse ];
nativeCheckInputs = [ pytestCheckHook ipython ];
# avoid collecting local files preCheck = '' cd clifford/test '';
disabledTests = [ "veryslow" "test_algebra_initialisation" "test_cga" "test_grade_projection" "test_multiple_grade_projection" "test_inverse" "test_inv_g4" ];
disabledTestPaths = [ # Disable failing tests "test_g3c_tools.py" "test_multivector_inverse.py" ];
pythonImportsCheck = [ "clifford" ];
meta = { description = "Numerical Geometric Algebra Module"; homepage = "https://clifford.readthedocs.io"; changelog = "https://github.com/pygae/clifford/releases/tag/v${version}"; license = lib.licenses.bsd3; maintainers = [ ]; # Broken with numba >= 0.54 # see https://github.com/pygae/clifford/issues/430 broken = lib.versionAtLeast numba.version "0.58"; };}