1 { lib, stdenv, callPackage, perl, which, coreutils, zenity, curl
2 , cabextract, unzip, p7zip, gnused, gnugrep, bash } :
4 stdenv.mkDerivation rec {
8 src = (callPackage ./sources.nix {}).winetricks;
10 buildInputs = [ perl which ];
12 # coreutils is for sha1sum
13 pathAdd = lib.makeBinPath [
14 perl which coreutils zenity curl cabextract unzip p7zip gnused gnugrep bash
17 makeFlags = [ "PREFIX=$(out)" ];
19 doCheck = false; # requires "bashate"
23 -e '2i PATH="${pathAdd}:$PATH"' \
28 inherit (src) updateScript;
32 description = "A script to install DLLs needed to work around problems in Wine";
33 mainProgram = "winetricks";
34 license = lib.licenses.lgpl21;
35 homepage = "https://github.com/Winetricks/winetricks";
36 platforms = with lib.platforms; linux;