mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
pythonPackages.pyamg: init at 4.0.0
This commit is contained in:
parent
2c396d9f07
commit
ad5c48a094
36
pkgs/development/python-modules/pyamg/default.nix
Normal file
36
pkgs/development/python-modules/pyamg/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, scipy
|
||||
, pytest
|
||||
, pybind11
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyamg";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3ceb38ffd86e29774e759486f2961599c8ed847459c68727493cadeaf115a38a";
|
||||
};
|
||||
|
||||
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;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -4452,6 +4452,8 @@ in {
|
|||
|
||||
pyxattr = callPackage ../development/python-modules/pyxattr { };
|
||||
|
||||
pyamg = callPackage ../development/python-modules/pyamg { };
|
||||
|
||||
pyaml = callPackage ../development/python-modules/pyaml { };
|
||||
|
||||
pyyaml = callPackage ../development/python-modules/pyyaml { };
|
||||
|
|
Loading…
Reference in a new issue