depot/pkgs/by-name/bi/bitrise/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

39 lines
990 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "bitrise";
version = "2.22.0";
src = fetchFromGitHub {
owner = "bitrise-io";
repo = "bitrise";
rev = version;
hash = "sha256-eXXH+KKLayX4ZTs76MOqLw2/IeMgiWuh27Ocb0CGhgE=";
};
# 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"
];
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 ];
};
}