Skip to content

Commit

Permalink
bitrise: init at version 2.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ofalvai committed Aug 13, 2024
1 parent 09005f3 commit 568e8fe
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/by-name/bi/bitrise/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "bitrise";
version = "2.19.0";

src = fetchFromGitHub {
owner = "bitrise-io";
repo = "bitrise";
rev = version;
hash = "sha256-VjuDeRl/rqA7bdhn9REdxdjRon5WxHkFIveOYNpQqa8=";
};

# 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 ];
};
}

0 comments on commit 568e8fe

Please sign in to comment.