summary refs log tree commit diff
path: root/pkgs/development/python-modules/polarizationsolver/default.nix
blob: c4710f6901ed7731e91dd8454fff26398dae467c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ 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
  ];

  checkInputs = [ 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 ];
  };
}