nixpkgs/pkgs/misc/emulators/wine/packages.nix

36 lines
1.0 KiB
Nix
Raw Normal View History

{ stdenv_32bit, lib, pkgs, pkgsi686Linux, callPackage,
2016-05-29 09:43:47 +01:00
wineRelease ? "stable",
supportFlags
}:
let src = lib.getAttr wineRelease (callPackage ./sources.nix {});
in with src; {
wine32 = pkgsi686Linux.callPackage ./base.nix {
name = "wine-${version}";
2016-05-29 09:43:47 +01:00
inherit src version supportFlags;
pkgArches = [ pkgsi686Linux ];
geckos = [ gecko32 ];
monos = [ mono ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
wine64 = callPackage ./base.nix {
name = "wine64-${version}";
2016-05-29 09:43:47 +01:00
inherit src version supportFlags;
pkgArches = [ pkgs ];
geckos = [ gecko64 ];
monos = [ mono ];
configureFlags = [ "--enable-win64" ];
2018-05-17 08:21:23 +01:00
platforms = [ "x86_64-linux" "x86_64-darwin" ];
};
wineWow = callPackage ./base.nix {
name = "wine-wow-${version}";
2016-05-29 09:43:47 +01:00
inherit src version supportFlags;
stdenv = stdenv_32bit;
pkgArches = [ pkgs pkgsi686Linux ];
geckos = [ gecko32 gecko64 ];
monos = [ mono ];
buildScript = ./builder-wow.sh;
platforms = [ "x86_64-linux" ];
};
}