16 pname = "buildkite-agent";
19 src = fetchFromGitHub {
23 hash = "sha256-L7ruto57E4uUEwo18krZgCQYl+9aJoIGgeecNEeVt54=";
26 vendorHash = "sha256-Snms9jzQ8+Tw+pJJth7AndskebF31bHKviJBA6Qu52I=";
29 substituteInPlace clicommand/agent_start.go --replace /bin/bash ${bash}/bin/bash
32 nativeBuildInputs = [ makeWrapper ];
38 mv $out/bin/{agent,buildkite-agent}
40 # These are runtime dependencies
41 wrapProgram $out/bin/buildkite-agent \
54 tests.smoke-test = nixosTests.buildkite-agents;
55 updateScript = gitUpdater {
61 description = "Build runner for buildkite.com";
63 The buildkite-agent is a small, reliable, and cross-platform build runner
64 that makes it easy to run automated builds on your own infrastructure.
65 It’s main responsibilities are polling buildkite.com for work, running
66 build jobs, reporting back the status code and output log of the job,
67 and uploading the job's artifacts.
69 homepage = "https://buildkite.com/docs/agent";
70 license = licenses.mit;
71 maintainers = with maintainers; [
77 platforms = with platforms; unix ++ darwin;