nixpkgs/pkgs/misc/emulators/wine/sources.nix
Alexander V. Nikolaev b81cf59bd7 wine: 1.9.14 -> 1.9.16
Update wineUnstable and wineStaging
2016-08-14 10:22:05 +03:00

66 lines
2.2 KiB
Nix

{ 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 {
version = "1.8.3";
url = "mirror://sourceforge/wine/wine-${version}.tar.bz2";
sha256 = "0v3sq5zzj3z5pw1aicn7i03pgf41cr9fr0vg1sazwfxrmbvwvknp";
## 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 {
version = "1.9.16";
url = "mirror://sourceforge/wine/wine-${version}.tar.bz2";
sha256 = "010gjib4nhrn9j9q12v5irda8df8xp17a6v6qqskkadd79kxc871";
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";
};
};
staging = fetchFromGitHub rec {
inherit (unstable) version;
sha256 = "0rcy0i36jxv2akczd4sfrdmlsqxmj5v0wzvqb3xl8p2mldk9i8yl";
owner = "wine-compholio";
repo = "wine-staging";
rev = "v${version}";
};
winetricks = fetchFromGitHub rec {
version = "20160622";
sha256 = "0xh7mc5xby0zxx2g3q1ky18s20y6s7wp3vzvgxydwzhhwf32189q";
owner = "Winetricks";
repo = "winetricks";
rev = version;
};
}