2022-02-17 14:29:25 +01:00
|
|
|
{ stdenv_32bit, lib, pkgs, pkgsi686Linux, pkgsCross, callPackage, moltenvk,
|
2016-05-29 10:43:47 +02:00
|
|
|
wineRelease ? "stable",
|
|
|
|
supportFlags
|
2015-04-21 18:00:59 +02:00
|
|
|
}:
|
|
|
|
|
2022-01-21 04:47:23 +01:00
|
|
|
let
|
|
|
|
src = lib.getAttr wineRelease (callPackage ./sources.nix {});
|
2022-02-17 14:29:25 +01:00
|
|
|
vkd3d = pkgs.callPackage ./vkd3d.nix { inherit moltenvk; };
|
|
|
|
vkd3d_i686 = pkgsi686Linux.callPackage ./vkd3d.nix { inherit moltenvk; };
|
2016-02-02 04:55:46 +01:00
|
|
|
in with src; {
|
2018-07-05 20:04:52 +02:00
|
|
|
wine32 = pkgsi686Linux.callPackage ./base.nix {
|
2015-08-20 19:40:12 +02:00
|
|
|
name = "wine-${version}";
|
2022-02-17 14:29:25 +01:00
|
|
|
inherit src version supportFlags patches moltenvk;
|
2015-04-21 18:00:59 +02:00
|
|
|
pkgArches = [ pkgsi686Linux ];
|
2022-01-21 04:47:23 +01:00
|
|
|
vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d_i686 ];
|
2016-02-02 04:55:46 +01:00
|
|
|
geckos = [ gecko32 ];
|
2020-11-10 00:33:43 +01:00
|
|
|
mingwGccs = with pkgsCross; [ mingw32.buildPackages.gcc ];
|
2016-02-02 04:55:46 +01:00
|
|
|
monos = [ mono ];
|
2015-04-21 18:00:59 +02:00
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
|
|
};
|
2016-04-12 17:52:05 +02:00
|
|
|
wine64 = callPackage ./base.nix {
|
2015-04-21 18:00:59 +02:00
|
|
|
name = "wine64-${version}";
|
2022-02-17 14:29:25 +01:00
|
|
|
inherit src version supportFlags patches moltenvk;
|
2015-04-21 18:00:59 +02:00
|
|
|
pkgArches = [ pkgs ];
|
2022-01-21 04:47:23 +01:00
|
|
|
vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d ];
|
2020-11-10 00:33:43 +01:00
|
|
|
mingwGccs = with pkgsCross; [ mingwW64.buildPackages.gcc ];
|
2016-02-02 04:55:46 +01:00
|
|
|
geckos = [ gecko64 ];
|
|
|
|
monos = [ mono ];
|
2016-04-12 17:52:05 +02:00
|
|
|
configureFlags = [ "--enable-win64" ];
|
2018-05-17 09:21:23 +02:00
|
|
|
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
2015-04-21 18:00:59 +02:00
|
|
|
};
|
2016-04-12 17:52:05 +02:00
|
|
|
wineWow = callPackage ./base.nix {
|
2015-08-20 19:40:12 +02:00
|
|
|
name = "wine-wow-${version}";
|
2022-02-17 14:29:25 +01:00
|
|
|
inherit src version supportFlags patches moltenvk;
|
2016-08-16 19:35:46 +02:00
|
|
|
stdenv = stdenv_32bit;
|
2015-04-21 18:00:59 +02:00
|
|
|
pkgArches = [ pkgs pkgsi686Linux ];
|
2022-01-21 04:47:23 +01:00
|
|
|
vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d vkd3d_i686 ];
|
2016-02-02 04:55:46 +01:00
|
|
|
geckos = [ gecko32 gecko64 ];
|
2020-11-10 00:33:43 +01:00
|
|
|
mingwGccs = with pkgsCross; [ mingw32.buildPackages.gcc mingwW64.buildPackages.gcc ];
|
2016-02-02 04:55:46 +01:00
|
|
|
monos = [ mono ];
|
2015-04-21 18:00:59 +02:00
|
|
|
buildScript = ./builder-wow.sh;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|