Files
nixpkgs/pkgs/development/python-modules/clifford/default.nix
T
Martin Weinelt 71740fa885 python3Packages.clifford: 1.4.0 -> 1.5.1
https://github.com/pygae/clifford/releases/tag/v1.5.1

This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:31 +01:00

74 lines
1.3 KiB
Nix

{
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";
};
}