571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
46 lines
901 B
Nix
46 lines
901 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, wxGTK32
|
|
, libGL
|
|
, libGLU
|
|
, pkg-config
|
|
, xorg
|
|
, autoreconfHook
|
|
, wrapGAppsHook4
|
|
}:
|
|
|
|
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 wrapGAppsHook4 ];
|
|
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 ];
|
|
};
|
|
}
|