Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
1000 B
Nix
40 lines
1000 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "bitrise";
|
|
version = "2.33.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bitrise-io";
|
|
repo = "bitrise";
|
|
rev = "v${version}";
|
|
hash = "sha256-ckiozGSk8a0bzTzj8PuN55rrL2r95BylYRUHZdQF+Kc=";
|
|
};
|
|
|
|
# many tests rely on writable $HOME/.bitrise and require network access
|
|
doCheck = false;
|
|
|
|
vendorHash = null;
|
|
ldflags = [
|
|
"-X github.com/bitrise-io/bitrise/version.Commit=${src.rev}"
|
|
"-X github.com/bitrise-io/bitrise/version.BuildNumber=0"
|
|
];
|
|
env.CGO_ENABLED = 0;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
changelog = "https://github.com/bitrise-io/bitrise/releases";
|
|
description = "CLI for running your Workflows from Bitrise on your local machine";
|
|
homepage = "https://bitrise.io/cli";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "bitrise";
|
|
maintainers = with lib.maintainers; [ ofalvai ];
|
|
};
|
|
}
|