From 32e751d61648dfc0ede626dc6e93a0f8ed77049d Mon Sep 17 00:00:00 2001 From: Tobias Pflug Date: Tue, 1 Mar 2016 20:42:09 +0100 Subject: [PATCH] sauce-connect: fix hashes and phases --- pkgs/development/tools/sauce-connect/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/sauce-connect/default.nix b/pkgs/development/tools/sauce-connect/default.nix index cc904153baf..3818020d931 100644 --- a/pkgs/development/tools/sauce-connect/default.nix +++ b/pkgs/development/tools/sauce-connect/default.nix @@ -9,18 +9,18 @@ stdenv.mkDerivation rec { src = fetchurl ( if stdenv.system == "x86_64-linux" then { url = "https://saucelabs.com/downloads/sc-${version}-linux.tar.gz"; - sha1 = "0d7d2dc12766ac137e62a3e4dad3025b590f9782"; + sha256 = "1flhsssb7wvfbwyvhc9k2di3nd7dlq832xp6dg658xbqk7mr9rvw"; } else if stdenv.system == "i686-linux" then { url = "https://saucelabs.com/downloads/sc-${version}-linux32.tar.gz"; - sha1 = "ee2c3002eae3b29df801a2ac1db77bb5f1c97bcc"; + sha256 = "1hy0riljgjf4sf4cg7kn0hd18w393bdwhp0ajyimzvscg05nx8fq"; } else { url = "https://saucelabs.com/downloads/sc-${version}-osx.zip"; - sha1 = "ihr4ynnyi464pafgqyl5xkhfi13yi76j"; + sha256 = "1fhclbc79rk6pmf5qzc2pkz1z3nsawr9pfi5bzqs8r1514ki4m4p"; } ); buildInputs = [ unzip ]; - phases = "unpackPhase installPhase" + (if stdenv.system == "x86_64-darwin" then "" else "patchPhase"); + phases = "unpackPhase installPhase " + (if stdenv.system == "x86_64-darwin" then "" else "patchPhase"); patchPhase = '' patchelf \