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