nixpkgs/pkgs/misc/emulators/wine/winetricks.nix
Moritz Ulrich 51229692ca Add sha256 hash to winetricks.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-03-30 20:00:05 +01:00

30 lines
775 B
Nix

{ stdenv, fetchsvn, wine, perl, which, coreutils, zenity, curl, cabextract, unzip, p7zip } :
stdenv.mkDerivation rec {
rev = "939";
name = "winetricks-${rev}";
src = fetchsvn {
url = "http://winetricks.googlecode.com/svn/trunk";
inherit rev;
sha256 = "01v13qw4sxmfm09g9amqycnzy743gdrhvv23rjr9255dzlrj1s8f";
};
buildInputs = [ perl which ];
pathAdd = stdenv.lib.concatStringsSep "/bin:" # coreutils is for sha1sum
[ wine perl which coreutils zenity curl cabextract unzip p7zip ]
+ "/bin";
patch = ./winetricks.patch;
builder = ./build_winetricks.sh;
meta = {
description = "A script to install DLLs needed to work around problems in Wine";
license = "LGPLv2.1";
homepage = http://code.google.com/p/winetricks/;
};
}