Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 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.0.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "3ceb38ffd86e29774e759486f2961599c8ed847459c68727493cadeaf115a38a"; 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}