Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

sauce-connect: 4.3.6 -> 4.3.13

+10 -4
+10 -4
pkgs/development/tools/sauce-connect/default.nix
··· 1 - { stdenv, lib, fetchurl, zlib }: 1 + { stdenv, lib, fetchurl, zlib, unzip }: 2 2 3 3 with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "sauce-connect-${version}"; 7 - version = "4.3.6"; 7 + version = "4.3.13"; 8 8 9 9 src = fetchurl ( 10 10 if stdenv.system == "x86_64-linux" then { 11 11 url = "https://saucelabs.com/downloads/sc-${version}-linux.tar.gz"; 12 12 sha1 = "0d7d2dc12766ac137e62a3e4dad3025b590f9782"; 13 - } else { 13 + } else if stdenv.system == "i686-linux" then { 14 14 url = "https://saucelabs.com/downloads/sc-${version}-linux32.tar.gz"; 15 15 sha1 = "ee2c3002eae3b29df801a2ac1db77bb5f1c97bcc"; 16 + } else { 17 + url = "https://saucelabs.com/downloads/sc-${version}-osx.zip"; 18 + sha1 = "ihr4ynnyi464pafgqyl5xkhfi13yi76j"; 16 19 } 17 20 ); 21 + 22 + buildInputs = [ unzip ]; 23 + phases = "unpackPhase installPhase" + (if stdenv.system == "x86_64-darwin" then "" else "patchPhase"); 18 24 19 25 patchPhase = '' 20 26 patchelf \ ··· 35 41 license = licenses.unfree; 36 42 homepage = https://docs.saucelabs.com/reference/sauce-connect/; 37 43 maintainers = with maintainers; [offline]; 38 - platforms = platforms.linux; 44 + platforms = platforms.linux ++ platforms.darwin; 39 45 }; 40 46 }