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