forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wine-packages.nix
55 lines (48 loc) · 1.6 KB
/
wine-packages.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{ stdenv, config, callPackage, wineBuild }:
rec {
fonts = callPackage ../applications/emulators/wine/fonts.nix {};
minimal = callPackage ../applications/emulators/wine {
wineRelease = config.wine.release or "stable";
inherit wineBuild;
};
base = minimal.override {
gettextSupport = true;
fontconfigSupport = stdenv.isLinux;
alsaSupport = stdenv.isLinux;
openglSupport = true;
vulkanSupport = true;
tlsSupport = true;
cupsSupport = true;
dbusSupport = stdenv.isLinux;
cairoSupport = stdenv.isLinux;
cursesSupport = true;
saneSupport = stdenv.isLinux;
pulseaudioSupport = config.pulseaudio or stdenv.isLinux;
udevSupport = stdenv.isLinux;
xineramaSupport = stdenv.isLinux;
sdlSupport = true;
mingwSupport = true;
usbSupport = true;
};
full = base.override {
gtkSupport = stdenv.isLinux;
gstreamerSupport = true;
openclSupport = true;
odbcSupport = true;
netapiSupport = stdenv.isLinux;
vaSupport = stdenv.isLinux;
pcapSupport = true;
v4lSupport = stdenv.isLinux;
gphoto2Support = true;
krb5Support = true;
embedInstallers = true;
};
stable = base.override { wineRelease = "stable"; };
stableFull = full.override { wineRelease = "stable"; };
unstable = base.override { wineRelease = "unstable"; };
unstableFull = full.override { wineRelease = "unstable"; };
staging = base.override { wineRelease = "staging"; };
stagingFull = full.override { wineRelease = "staging"; };
wayland = base.override { wineRelease = "wayland"; };
waylandFull = full.override { wineRelease = "wayland"; };
}