about summary refs log tree commit diff
path: root/pkgs/development/python-modules/geometric/default.nix
blob: 89f1e73ed9af2ade53c4dfcecbaa68b12bd1a7a7 (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
{ buildPythonPackage, lib, fetchFromGitHub
, networkx, numpy, scipy, six
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "geometric";
  version = "0.9.7.2";

  src = fetchFromGitHub {
    owner = "leeping";
    repo = "geomeTRIC";
    rev = version;
    hash = "sha256-QFpfY6tWqcda6AJT17YBEuwu/4DYPbIMJU1c9/gHjaA=";
  };

  propagatedBuildInputs = [
    networkx
    numpy
    scipy
    six
  ];

  checkInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Geometry optimization code for molecular structures";
    homepage = "https://github.com/leeping/geomeTRIC";
    license = [ licenses.bsd3 ];
    maintainers = [ maintainers.markuskowa ];
  };
}