depot/third_party/nixpkgs/pkgs/applications/science/chemistry/wxmacmolplt/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

44 lines
869 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, wxGTK32
, libGL
, libGLU
, pkg-config
, xorg
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "wxmacmolplt";
version = "7.7.3";
src = fetchFromGitHub {
owner = "brettbode";
repo = pname;
rev = "v${version}";
hash = "sha256-gFGstyq9bMmBaIS4QE6N3EIC9GxRvyJYUr8DUvwRQBc=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [
wxGTK32
libGL
libGLU
xorg.libX11
xorg.libX11.dev
];
configureFlags = [ "LDFLAGS=-lGL" ];
enableParallelBuilding = true;
meta = with lib; {
description = "Graphical user interface for GAMESS-US";
mainProgram = "wxmacmolplt";
homepage = "https://brettbode.github.io/wxmacmolplt/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ sheepforce markuskowa ];
};
}