1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/python-modules/pyamg/default.nix

37 lines
617 B
Nix
Raw Normal View History

2019-07-12 22:11:52 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, pytest
, pybind11
}:
buildPythonPackage rec {
pname = "pyamg";
2021-06-18 22:47:31 +01:00
version = "4.1.0";
2019-07-12 22:11:52 +01:00
src = fetchPypi {
inherit pname version;
2021-06-18 22:47:31 +01:00
sha256 = "b4cacfcfd13379762a4551ac059a2e52a093b476ca1ad44b9202e736490a8863";
2019-07-12 22:11:52 +01:00
};
propagatedBuildInputs = [
numpy
scipy
pytest
pybind11
];
preBuild = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {
description = "Algebraic Multigrid Solvers in Python";
homepage = "https://github.com/pyamg/pyamg";
2019-07-12 22:11:52 +01:00
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}