mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:29:24 +08:00
16 lines
561 B
Nix
16 lines
561 B
Nix
{
|
|
stdenv, src, wrapGAppsHook3, autoreconfHook, gfortran, gtk3, intltool, gtk-doc, pkg-config, libepoxy, libyaml,
|
|
libxslt, libGLU, wayland, makeWrapper
|
|
}:
|
|
stdenv.mkDerivation
|
|
{
|
|
name = "v-sim";
|
|
inherit src;
|
|
buildInputs = [ gtk3 libepoxy libyaml libGLU ];
|
|
nativeBuildInputs = [ autoreconfHook wrapGAppsHook3 gfortran intltool gtk-doc pkg-config libxslt makeWrapper ];
|
|
enableParallelBuilding = true;
|
|
postPatch = "./autogen.sh";
|
|
dontWrapGApps = true;
|
|
postFixup = ''wrapProgram $out/bin/v_sim "''${gappsWrapperArgs[@]}" --set GDK_BACKEND x11'';
|
|
}
|