cd9edbb15b
wine: 2.0-rc2 -> 2.0-rc3 winetricks: 20160724 -> 20170101
65 lines
2.3 KiB
Nix
65 lines
2.3 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.6";
|
|
url = "https://dl.winehq.org/wine/source/1.8/wine-${version}.tar.bz2";
|
|
sha256 = "1lq6770pkv3342ss2ih18s2hw6i1srbcfg3mljwalqrvxfb7hydi";
|
|
|
|
## see http://wiki.winehq.org/Gecko
|
|
gecko32 = fetchurl rec {
|
|
version = "2.40";
|
|
url = "http://dl.winehq.org/wine/wine-gecko/${version}/wine_gecko-${version}-x86.msi";
|
|
sha256 = "00nkaxhb9dwvf53ij0q75fb9fh7pf43hmwx6rripcax56msd2a8s";
|
|
};
|
|
gecko64 = fetchurl rec {
|
|
version = "2.40";
|
|
url = "http://dl.winehq.org/wine/wine-gecko/${version}/wine_gecko-${version}-x86_64.msi";
|
|
sha256 = "0c4jikfzb4g7fyzp0jcz9fk2rpdl1v8nkif4dxcj28nrwy48kqn3";
|
|
};
|
|
## see http://wiki.winehq.org/Mono
|
|
mono = fetchurl rec {
|
|
version = "4.6.3";
|
|
url = "http://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}.msi";
|
|
sha256 = "1f98xwgv665zb9cwc5zphcdbffyh3sm26h62hzca6zlcwy5fi0zq";
|
|
};
|
|
};
|
|
|
|
unstable = fetchurl rec {
|
|
version = "2.0-rc3";
|
|
url = "https://dl.winehq.org/wine/source/2.0/wine-${version}.tar.bz2";
|
|
sha256 = "0sq8li7p30h2a5bbpv27vxpzihr8h890qm78nq21fnh0zflg8x8y";
|
|
inherit (stable) mono;
|
|
gecko32 = fetchurl rec {
|
|
version = "2.47";
|
|
url = "http://dl.winehq.org/wine/wine-gecko/${version}/wine_gecko-${version}-x86.msi";
|
|
sha256 = "0fk4fwb4ym8xn0i5jv5r5y198jbpka24xmxgr8hjv5b3blgkd2iv";
|
|
};
|
|
gecko64 = fetchurl rec {
|
|
version = "2.47";
|
|
url = "http://dl.winehq.org/wine/wine-gecko/${version}/wine_gecko-${version}-x86_64.msi";
|
|
sha256 = "0zaagqsji6zaag92fqwlasjs8v9hwjci5c2agn9m7a8fwljylrf5";
|
|
};
|
|
};
|
|
|
|
staging = fetchFromGitHub rec {
|
|
inherit (unstable) version;
|
|
sha256 = "1nk8s54nrlws0d8wpyj1vv2z0l2jansn990xw73v15wzwc3j9p6l";
|
|
owner = "wine-compholio";
|
|
repo = "wine-staging";
|
|
rev = "v${version}";
|
|
};
|
|
|
|
winetricks = fetchFromGitHub rec {
|
|
version = "20170101";
|
|
sha256 = "0c2aam68x3nlvc6f4r6rnfw6y3a86644zb0qirwkmh3p04mpdl39";
|
|
owner = "Winetricks";
|
|
repo = "winetricks";
|
|
rev = version;
|
|
};
|
|
|
|
}
|