buildkite-agent: 3.17.0 -> 3.25.0, use buildGoModule, add darwin to platforms (#101954)

authored by

Andrey Kuznetsov and committed by
GitHub
0d41c9a9 a30a084b

+9 -8
+9 -8
pkgs/development/tools/continuous-integration/buildkite-agent/default.nix
··· 1 - { fetchFromGitHub, stdenv, buildGoPackage, 1 + { fetchFromGitHub, stdenv, buildGoModule, 2 2 makeWrapper, coreutils, git, openssh, bash, gnused, gnugrep }: 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 name = "buildkite-agent-${version}"; 5 - version = "3.17.0"; 5 + version = "3.25.0"; 6 6 7 7 goPackagePath = "github.com/buildkite/agent"; 8 8 ··· 10 10 owner = "buildkite"; 11 11 repo = "agent"; 12 12 rev = "v${version}"; 13 - sha256 = "0a7x919kxnpdn0pnhc5ilx1z6ninx8zgjvsd0jcg4qwh0qqp5ppr"; 13 + sha256 = "VxAGi2NpXpc3U+GNIvGJSkdHGODrX2s8oY+dQ8QXIHQ="; 14 14 }; 15 + 16 + vendorSha256 = "X1K6uKiMFXTDT1PcedGQ8HLGox8ePP7Cz0Ihf4m9ts8="; 17 + 15 18 postPatch = '' 16 19 substituteInPlace bootstrap/shell/shell.go --replace /bin/bash ${bash}/bin/bash 17 20 ''; 18 21 19 22 nativeBuildInputs = [ makeWrapper ]; 20 23 21 - # on Linux, the TMPDIR is /build which is the same prefix as this package 22 - # remove once #35068 is merged 23 - noAuditTmpdir = stdenv.isLinux; 24 + doCheck = false; 24 25 25 26 postInstall = '' 26 27 # Fix binary name ··· 43 44 homepage = "https://buildkite.com/docs/agent"; 44 45 license = licenses.mit; 45 46 maintainers = with maintainers; [ pawelpacana zimbatm rvl ]; 46 - platforms = platforms.unix; 47 + platforms = with platforms; unix ++ darwin; 47 48 }; 48 49 }