mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-20 06:51:04 +08:00
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
39 lines
812 B
Nix
39 lines
812 B
Nix
{ buildPythonPackage
|
|
, lib
|
|
, fetchFromGitLab
|
|
, python
|
|
, numpy
|
|
, scipy
|
|
, periodictable
|
|
, fields
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "polarizationsolver";
|
|
version = "unstable-2021-11-02";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "reinholdt";
|
|
repo = pname;
|
|
rev = "00424ac4d1862257a55e4b16543f63ace3fe8c22";
|
|
sha256 = "sha256-LACf8Xw+o/uJ3+PD/DE/o7nwKY7fv3NyYbpjCrTTnBU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
periodictable
|
|
scipy
|
|
];
|
|
|
|
nativeCheckInputs = [ fields ];
|
|
|
|
pythonImportsCheck = [ "polarizationsolver" ];
|
|
|
|
meta = with lib; {
|
|
description = "Multipole moment solver for quantum chemistry and polarisable embedding";
|
|
homepage = "https://gitlab.com/reinholdt/polarizationsolver";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ maintainers.sheepforce ];
|
|
};
|
|
}
|