11 buildPythonPackage rec {
12 pname = "polarizationsolver";
13 version = "unstable-2021-11-02";
14 format = "setuptools";
16 src = fetchFromGitLab {
19 rev = "00424ac4d1862257a55e4b16543f63ace3fe8c22";
20 hash = "sha256-LACf8Xw+o/uJ3+PD/DE/o7nwKY7fv3NyYbpjCrTTnBU=";
23 # setup.py states version="dev", which is not a valid version string for setuptools
24 # There has never been a formal stable release, so let's say 0.0 here.
26 substituteInPlace ./setup.py --replace 'version="dev",' 'version="0.0",'
29 propagatedBuildInputs = [
35 nativeCheckInputs = [ fields ];
37 pythonImportsCheck = [ "polarizationsolver" ];
40 description = "Multipole moment solver for quantum chemistry and polarisable embedding";
41 homepage = "https://gitlab.com/reinholdt/polarizationsolver";
42 license = licenses.gpl3Plus;
43 maintainers = [ maintainers.sheepforce ];