diff options
Diffstat (limited to 'pkgs/misc/emulators/wine/default.nix')
-rw-r--r-- | pkgs/misc/emulators/wine/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/misc/emulators/wine/default.nix b/pkgs/misc/emulators/wine/default.nix index 1978d8ab2e846..f754951b4d418 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 = [ |