2018-07-03 21:26:34 +03:00
|
|
|
{ stdenv, config, callPackage, wineBuild }:
|
2018-05-17 02:29:26 +03:00
|
|
|
|
|
|
|
rec {
|
2022-02-16 05:36:57 +03:00
|
|
|
fonts = callPackage ../applications/emulators/wine/fonts.nix {};
|
|
|
|
minimal = callPackage ../applications/emulators/wine {
|
2018-05-17 02:29:26 +03:00
|
|
|
wineRelease = config.wine.release or "stable";
|
2018-07-03 21:26:34 +03:00
|
|
|
inherit wineBuild;
|
2018-05-17 02:29:26 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
base = minimal.override {
|
|
|
|
gettextSupport = true;
|
2022-02-16 03:37:55 +03:00
|
|
|
fontconfigSupport = stdenv.isLinux;
|
|
|
|
alsaSupport = stdenv.isLinux;
|
2018-05-17 02:29:26 +03:00
|
|
|
openglSupport = true;
|
2022-09-15 04:10:20 +03:00
|
|
|
vulkanSupport = true;
|
2018-05-17 02:29:26 +03:00
|
|
|
tlsSupport = true;
|
|
|
|
cupsSupport = true;
|
2022-02-16 03:37:55 +03:00
|
|
|
dbusSupport = stdenv.isLinux;
|
|
|
|
cairoSupport = stdenv.isLinux;
|
2018-05-17 02:29:26 +03:00
|
|
|
cursesSupport = true;
|
2022-02-16 03:37:55 +03:00
|
|
|
saneSupport = stdenv.isLinux;
|
2018-05-17 02:29:26 +03:00
|
|
|
pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
|
2022-02-16 03:37:55 +03:00
|
|
|
udevSupport = stdenv.isLinux;
|
|
|
|
xineramaSupport = stdenv.isLinux;
|
2018-11-24 18:44:20 +03:00
|
|
|
sdlSupport = true;
|
2020-12-29 19:53:01 +03:00
|
|
|
mingwSupport = true;
|
2022-02-16 03:39:10 +03:00
|
|
|
usbSupport = true;
|
2018-05-17 02:29:26 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
full = base.override {
|
2022-02-16 03:37:55 +03:00
|
|
|
gtkSupport = stdenv.isLinux;
|
2018-05-17 02:29:26 +03:00
|
|
|
gstreamerSupport = true;
|
|
|
|
openalSupport = true;
|
|
|
|
openclSupport = true;
|
|
|
|
odbcSupport = true;
|
2022-02-16 03:37:55 +03:00
|
|
|
netapiSupport = stdenv.isLinux;
|
|
|
|
vaSupport = stdenv.isLinux;
|
2018-05-17 02:29:26 +03:00
|
|
|
pcapSupport = true;
|
2022-02-16 03:37:55 +03:00
|
|
|
v4lSupport = stdenv.isLinux;
|
2018-05-17 02:29:26 +03:00
|
|
|
gphoto2Support = true;
|
2022-02-16 03:39:10 +03:00
|
|
|
krb5Support = true;
|
2018-05-17 02:29:26 +03:00
|
|
|
ldapSupport = true;
|
2022-04-22 16:38:47 +03:00
|
|
|
vkd3dSupport = stdenv.isLinux;
|
2021-09-27 15:08:31 +03:00
|
|
|
embedInstallers = true;
|
2018-05-17 02:29:26 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
stable = base.override { wineRelease = "stable"; };
|
2021-11-06 10:03:36 +03:00
|
|
|
stableFull = full.override { wineRelease = "stable"; };
|
|
|
|
|
2018-05-17 02:29:26 +03:00
|
|
|
unstable = base.override { wineRelease = "unstable"; };
|
2021-11-06 10:03:36 +03:00
|
|
|
unstableFull = full.override { wineRelease = "unstable"; };
|
|
|
|
|
2018-05-17 02:29:26 +03:00
|
|
|
staging = base.override { wineRelease = "staging"; };
|
2021-11-06 10:03:36 +03:00
|
|
|
stagingFull = full.override { wineRelease = "staging"; };
|
2022-01-03 07:10:16 +03:00
|
|
|
|
|
|
|
wayland = base.override { wineRelease = "wayland"; };
|
|
|
|
waylandFull = full.override { wineRelease = "wayland"; };
|
2018-05-17 02:29:26 +03:00
|
|
|
}
|