2013-12-09 00:34:35 +00:00
|
|
|
{ stdenv, fetchsvn, wine, perl, which, coreutils, zenity, curl
|
|
|
|
, cabextract, unzip, p7zip, gnused, gnugrep, bash } :
|
2013-02-03 18:06:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-06-24 22:10:20 +01:00
|
|
|
rev = "1199";
|
2013-02-03 18:06:51 +00:00
|
|
|
name = "winetricks-${rev}";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "http://winetricks.googlecode.com/svn/trunk";
|
|
|
|
inherit rev;
|
2014-06-24 22:10:20 +01:00
|
|
|
sha256 = "1kji1n6ps09g8xnl9m7vqk3vkl03abzwnc43c52i8p0adnv06khb";
|
2013-02-03 18:06:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl which ];
|
|
|
|
|
|
|
|
pathAdd = stdenv.lib.concatStringsSep "/bin:" # coreutils is for sha1sum
|
2013-12-09 00:34:35 +00:00
|
|
|
[ wine perl which coreutils zenity curl cabextract unzip p7zip gnused gnugrep bash ]
|
2013-02-03 18:06:51 +00:00
|
|
|
+ "/bin";
|
|
|
|
|
|
|
|
patch = ./winetricks.patch;
|
|
|
|
|
|
|
|
builder = ./build_winetricks.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A script to install DLLs needed to work around problems in Wine";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2013-02-03 18:06:51 +00:00
|
|
|
homepage = http://code.google.com/p/winetricks/;
|
2013-12-09 00:34:35 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
2013-02-03 18:06:51 +00:00
|
|
|
};
|
|
|
|
}
|