Skip to content

Commit

Permalink
Merge pull request #332816 from ofalvai/bitrise-init
Browse files Browse the repository at this point in the history
bitrise: init at 2.19.0
  • Loading branch information
gador committed Aug 19, 2024
2 parents 815d558 + 5a558cc commit c76514f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15222,6 +15222,12 @@
githubId = 7397786;
name = "Odysseas Georgoudis";
};
ofalvai = {
email = "ofalvai@gmail.com";
github = "ofalvai";
githubId = 1694986;
name = "Olivér Falvai";
};
ofek = {
email = "oss@ofek.dev";
github = "ofek";
Expand Down
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 c76514f

Please sign in to comment.