17 buildPythonPackage rec {
23 inherit pname version;
24 sha256 = "36506aca53154528997ac22aee6292c83da0f4850bb375c149512b5284bd4948";
35 propagatedBuildInputs = [
39 ] ++ lib.optional (pythonOlder "3.8") importlib-metadata;
48 substituteInPlace setup.py \
49 --replace "/usr/include/eigen3/" "${eigen}/include/eigen3/"
53 export HOME=$(mktemp -d)
56 # performance tests aren't useful to us and disabling them allows us to
57 # decouple ourselves from an unnecessary build dep
59 for f in test/test*.py ; do
60 substituteInPlace $f --replace 'import perfplot' ""
63 disabledTests = [ "test_speed_comparison1" "test_speed_comparison2" ];
64 pythonImportsCheck = [ "accupy" ];
67 description = "Accurate sums and dot products for Python";
68 homepage = "https://github.com/nschloe/accupy";
69 license = licenses.mit;
70 maintainers = [ maintainers.costrouc ];