summary refs log tree commit diff
path: root/pkgs/applications/science/chemistry/wxmacmolplt/default.nix
blob: 4e8dbb6f0768399d47f6e01469503e3160afd0ca (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
39
40
41
{ stdenv
, lib
, fetchFromGitHub
, wxGTK32
, libGL
, libGLU
, pkg-config
, xorg
, autoreconfHook
}:

stdenv.mkDerivation rec {
  pname = "wxmacmolplt";
  version = "7.7.2";

  src = fetchFromGitHub {
    owner = "brettbode";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-sNxCjIEJUrDWtcUqBQqvanNfgNQ7T4cabYy+x9D1U+Q=";
  };

  nativeBuildInputs = [ pkg-config autoreconfHook ];
  buildInputs = [
    wxGTK32
    libGL
    libGLU
    xorg.libX11
    xorg.libX11.dev
  ];

  enableParallelBuilding = true;

  meta = with lib; {
    description = "Graphical user interface for GAMESS-US";
    homepage = "https://brettbode.github.io/wxmacmolplt/";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ sheepforce markuskowa ];
  };
}