at 22.05-pre 617 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, scipy 6, pytest 7, pybind11 8}: 9 10buildPythonPackage rec { 11 pname = "pyamg"; 12 version = "4.1.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "b4cacfcfd13379762a4551ac059a2e52a093b476ca1ad44b9202e736490a8863"; 17 }; 18 19 propagatedBuildInputs = [ 20 numpy 21 scipy 22 pytest 23 pybind11 24 ]; 25 26 preBuild = '' 27 export HOME=$(mktemp -d) 28 ''; 29 30 meta = with lib; { 31 description = "Algebraic Multigrid Solvers in Python"; 32 homepage = "https://github.com/pyamg/pyamg"; 33 license = licenses.mit; 34 maintainers = [ maintainers.costrouc ]; 35 }; 36}