3
0
Fork 0
forked from mirrors/nixpkgs

Fix Wine source

This commit is contained in:
Michael Raskin 2013-10-20 22:02:02 +04:00
parent f88aa22706
commit 6f3e7d17d3

View file

@ -6,11 +6,20 @@
assert stdenv.isLinux;
assert stdenv.gcc.gcc != null;
let gecko = fetchurl {
url = "mirror://sourceforge/wine/wine_gecko-2.21-x86.msi";
let
version = "1.7.4";
name = "wine-${version}";
src = fetchurl {
url = "mirror://sourceforge/wine/${name}.tar.bz2";
sha256 = "0sb9zfrvlrjx1icfb94clgac239i9yfhyv48zv9iddgmvdjk8ysi";
};
gecko = fetchurl {
url = "mirror://sourceforge/wine/wine_gecko-2.21-x86.msi";
sha256 = "1n0zccnvchkg0m896sjx5psk4bxw9if32xyxib1rbfdasykay7zh";
};
gecko64 = fetchurl {
url = "mirror://sourceforge/wine/wine_gecko-2.21-x86_64.msi";
sha256 = "0grc86dkq90i59zw43hakh62ra1ajnk11m64667xjrlzi7f0ndxw";
@ -22,13 +31,7 @@ let gecko = fetchurl {
};
in stdenv.mkDerivation rec {
version = "1.7.4";
name = "wine-${version}";
src = fetchurl {
url = "mirror://sourceforge/wine/${name}.tar.bz2";
sha256 = "1bj21d94i0mqvkmzxd4971232yniribk7q3fllf23ynbpppk1wg1";
};
inherit version name src;
buildInputs = [
xlibs.xlibs flex bison xlibs.libXi mesa