2016-02-02 03:55:46 +00:00
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
let fetchurl = args@{url, sha256, ...}:
|
|
|
|
pkgs.fetchurl { inherit url sha256; } // args;
|
|
|
|
fetchFromGitHub = args@{owner, repo, rev, sha256, ...}:
|
|
|
|
pkgs.fetchFromGitHub { inherit owner repo rev sha256; } // args;
|
|
|
|
in rec {
|
|
|
|
|
|
|
|
stable = fetchurl rec {
|
2016-02-04 13:22:44 +00:00
|
|
|
version = "1.8.1";
|
2016-02-02 03:55:46 +00:00
|
|
|
url = "mirror://sourceforge/wine/wine-${version}.tar.bz2";
|
2016-02-04 13:22:44 +00:00
|
|
|
sha256 = "15ya496qq24ipqii7ij8x8h5x8n21vgqa4h6binb74w5mzdd76hl";
|
2016-02-02 03:55:46 +00:00
|
|
|
|
|
|
|
## see http://wiki.winehq.org/Gecko
|
|
|
|
gecko32 = fetchurl rec {
|
|
|
|
version = "2.40";
|
|
|
|
url = "mirror://sourceforge/wine/wine_gecko-${version}-x86.msi";
|
|
|
|
sha256 = "00nkaxhb9dwvf53ij0q75fb9fh7pf43hmwx6rripcax56msd2a8s";
|
|
|
|
};
|
|
|
|
gecko64 = fetchurl rec {
|
|
|
|
version = "2.40";
|
|
|
|
url = "mirror://sourceforge/wine/wine_gecko-${version}-x86_64.msi";
|
|
|
|
sha256 = "0c4jikfzb4g7fyzp0jcz9fk2rpdl1v8nkif4dxcj28nrwy48kqn3";
|
|
|
|
};
|
|
|
|
## see http://wiki.winehq.org/Mono
|
|
|
|
mono = fetchurl rec {
|
|
|
|
version = "4.5.6";
|
|
|
|
url = "mirror://sourceforge/wine/wine-mono-${version}.msi";
|
|
|
|
sha256 = "09dwfccvfdp3walxzp6qvnyxdj2bbyw9wlh6cxw2sx43gxriys5c";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
unstable = fetchurl rec {
|
2016-02-22 22:22:27 +00:00
|
|
|
version = "1.9.4";
|
2016-02-02 03:55:46 +00:00
|
|
|
url = "mirror://sourceforge/wine/wine-${version}.tar.bz2";
|
2016-02-22 22:22:27 +00:00
|
|
|
sha256 = "1f5v1gns0xs512a6ym785cn29j8dxdbnxnvkg8v0p1w0p6vfmhbm";
|
|
|
|
inherit (stable) mono;
|
|
|
|
gecko32 = fetchurl rec {
|
|
|
|
version = "2.44";
|
|
|
|
url = "http://dl.winehq.org/wine/wine-gecko/${version}/wine_gecko-${version}-x86.msi";
|
|
|
|
sha256 = "0fbd8pxkihhfxs5mcx8n0rcygdx43qdrp2x8hq1s1cvifp8lm9kp";
|
|
|
|
};
|
|
|
|
gecko64 = fetchurl rec {
|
|
|
|
version = "2.44";
|
|
|
|
url = "http://dl.winehq.org/wine/wine-gecko/${version}/wine_gecko-${version}-x86_64.msi";
|
|
|
|
sha256 = "0qb6zx4ycj37q26y2zn73w49bxifdvh9n4riy39cn1kl7c6mm3k2";
|
|
|
|
};
|
2016-02-02 03:55:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
staging = fetchFromGitHub rec {
|
|
|
|
inherit (unstable) version;
|
2016-02-22 22:22:27 +00:00
|
|
|
sha256 = "0xjxbip0ab1lqgxrww08082ndsb8b5wjfwlf51zlr3f59c9bx9y5";
|
2016-02-02 03:55:46 +00:00
|
|
|
owner = "wine-compholio";
|
|
|
|
repo = "wine-staging";
|
|
|
|
rev = "v${version}";
|
|
|
|
};
|
|
|
|
|
|
|
|
winetricks = fetchFromGitHub rec {
|
2016-02-22 22:22:27 +00:00
|
|
|
version = "20160219";
|
|
|
|
sha256 = "1wqsbdh2qa5xxswilniki9wzbhlmkl6jqmryjd9f5smirr7ryy2r";
|
2016-02-02 03:55:46 +00:00
|
|
|
owner = "Winetricks";
|
|
|
|
repo = "winetricks";
|
|
|
|
rev = version;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|