diff options
author | Michael Raskin | 2009-08-23 22:24:17 +0000 |
---|---|---|
committer | Michael Raskin | 2009-08-23 22:24:17 +0000 |
commit | f0a3ff997fc56ce0ad78b9f16a6860e3426e0d0d (patch) | |
tree | b781304097fa51dcb3ec1f3d4cf72b55e737feef | |
parent | 5a6e313abf4b5dff7ffa740b5a6c0f4e1f0d8595 (diff) |
Update wine (use new updater script in the process)
svn path=/nixpkgs/trunk/; revision=16817
-rw-r--r-- | pkgs/misc/emulators/wine/default.nix | 11 | ||||
-rw-r--r-- | pkgs/misc/emulators/wine/src-for-default.nix | 6 | ||||
-rw-r--r-- | pkgs/misc/emulators/wine/src-info-for-default.nix | 3 |
3 files changed, 16 insertions, 4 deletions
diff --git a/pkgs/misc/emulators/wine/default.nix b/pkgs/misc/emulators/wine/default.nix index 1978d8ab2e84..f754951b4d41 100644 --- a/pkgs/misc/emulators/wine/default.nix +++ b/pkgs/misc/emulators/wine/default.nix @@ -6,14 +6,17 @@ assert stdenv.isLinux; assert stdenv.gcc.gcc != null; -let lib = import ../../../lib/default.nix; in +let + lib = import ../../../lib/default.nix; + s = import ./src-for-default.nix; +in stdenv.mkDerivation rec { - name = "wine-1.1.23"; + name = "wine-${s.version}"; src = fetchurl { - url = "mirror://sourceforge/wine/${name}.tar.bz2"; - sha256 = "0fg8s3y8975bwjyfw705q0sjch56vsndw3pc8n0j8dshhcbbrv5p"; + url = s.url; + sha256 = s.hash; }; buildInputs = [ diff --git a/pkgs/misc/emulators/wine/src-for-default.nix b/pkgs/misc/emulators/wine/src-for-default.nix new file mode 100644 index 000000000000..d2dd2f8746e5 --- /dev/null +++ b/pkgs/misc/emulators/wine/src-for-default.nix @@ -0,0 +1,6 @@ +rec { + advertisedUrl="http://prdownloads.sourceforge.net/wine/wine-1.1.28.tar.bz2"; + version = "1.1.28"; + url="http://prdownloads.sourceforge.net/wine/wine-${version}.tar.bz2"; + hash = "009h97799r0fbn6pxaqlfmvzyiy4znn87vvnr8ppmjhgbwd80wmy"; +} diff --git a/pkgs/misc/emulators/wine/src-info-for-default.nix b/pkgs/misc/emulators/wine/src-info-for-default.nix new file mode 100644 index 000000000000..891273316758 --- /dev/null +++ b/pkgs/misc/emulators/wine/src-info-for-default.nix @@ -0,0 +1,3 @@ +{ + downloadPage = "http://www.winehq.org/"; +} |