forked from mirrors/nixpkgs
Wine: update, add auto-update helper
This commit is contained in:
parent
fe4b9beae7
commit
3061db0bb2
|
@ -7,11 +7,11 @@ assert stdenv.isLinux;
|
||||||
assert stdenv.gcc.gcc != null;
|
assert stdenv.gcc.gcc != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "wine-1.5.15";
|
name = "wine-${meta.version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/wine/${name}.tar.bz2";
|
url = "mirror://sourceforge/wine/${name}.tar.bz2";
|
||||||
sha256 = "0m4lnqq4aniczp6m67m2n2ijz9h8z83ka3y30kyxkidv0j16jhi6";
|
sha256 = "05ac8qlpbiacn3gmwlafpppyl7r2grsym20gz163szsbmfzlqnxi";
|
||||||
};
|
};
|
||||||
|
|
||||||
gecko = fetchurl {
|
gecko = fetchurl {
|
||||||
|
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
version = "1.5.17";
|
||||||
homepage = "http://www.winehq.org/";
|
homepage = "http://www.winehq.org/";
|
||||||
license = "LGPL";
|
license = "LGPL";
|
||||||
description = "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix";
|
description = "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix";
|
||||||
|
|
13
pkgs/misc/emulators/wine/default.upstream
Normal file
13
pkgs/misc/emulators/wine/default.upstream
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
name wine
|
||||||
|
url http://sourceforge.net/projects/wine/files/Source/
|
||||||
|
version_link 'wine-[0-9.]+[.]tar[.][0-9a-z]+/download$'
|
||||||
|
SF_redirect
|
||||||
|
|
||||||
|
do_regenerate () {
|
||||||
|
set_var_value name "$CURRENT_NAME-"'${meta.version}'
|
||||||
|
set_var_value version "$CURRENT_VERSION"
|
||||||
|
set_var_value url 'mirror://sourceforge/wine/${name}.tar.bz2' 1
|
||||||
|
set_var_value sha256 "$CURRENT_HASH"
|
||||||
|
cat "$CURRENT_TARGET"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue