depot/third_party/nixpkgs/pkgs/applications/science/chemistry/wxmacmolplt/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

43 lines
836 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";
homepage = "https://brettbode.github.io/wxmacmolplt/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ sheepforce markuskowa ];
};
}