2016-02-02 03:55:46 +00:00
|
|
|
{ system, stdenv, stdenv_32bit, lib, pkgs, pkgsi686Linux, callPackage,
|
2015-12-24 01:58:57 +00:00
|
|
|
pulseaudioSupport,
|
2015-04-21 17:00:59 +01:00
|
|
|
wineRelease ? "stable"
|
|
|
|
}:
|
|
|
|
|
2016-02-02 03:55:46 +00:00
|
|
|
let src = lib.getAttr wineRelease (callPackage ./sources.nix {});
|
|
|
|
in with src; {
|
2015-04-21 17:00:59 +01:00
|
|
|
wine32 = import ./base.nix {
|
2015-08-20 18:40:12 +01:00
|
|
|
name = "wine-${version}";
|
2016-02-02 03:55:46 +00:00
|
|
|
inherit src version pulseaudioSupport;
|
2015-04-21 17:00:59 +01:00
|
|
|
inherit (pkgsi686Linux) lib stdenv;
|
|
|
|
pkgArches = [ pkgsi686Linux ];
|
2016-02-02 03:55:46 +00:00
|
|
|
geckos = [ gecko32 ];
|
|
|
|
monos = [ mono ];
|
2015-04-21 17:00:59 +01:00
|
|
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
wine64 = import ./base.nix {
|
|
|
|
name = "wine64-${version}";
|
2016-02-02 03:55:46 +00:00
|
|
|
inherit src version pulseaudioSupport lib stdenv;
|
2015-04-21 17:00:59 +01:00
|
|
|
pkgArches = [ pkgs ];
|
2016-02-02 03:55:46 +00:00
|
|
|
geckos = [ gecko64 ];
|
|
|
|
monos = [ mono ];
|
2015-04-21 17:00:59 +01:00
|
|
|
configureFlags = "--enable-win64";
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
wineWow = import ./base.nix {
|
2015-08-20 18:40:12 +01:00
|
|
|
name = "wine-wow-${version}";
|
2016-02-02 03:55:46 +00:00
|
|
|
inherit src version pulseaudioSupport lib;
|
2015-04-21 17:00:59 +01:00
|
|
|
stdenv = stdenv_32bit;
|
|
|
|
pkgArches = [ pkgs pkgsi686Linux ];
|
2016-02-02 03:55:46 +00:00
|
|
|
geckos = [ gecko32 gecko64 ];
|
|
|
|
monos = [ mono ];
|
2015-04-21 17:00:59 +01:00
|
|
|
buildScript = ./builder-wow.sh;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|