mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
40 lines
990 B
Nix
40 lines
990 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "bitrise";
|
|
version = "2.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bitrise-io";
|
|
repo = "bitrise";
|
|
rev = version;
|
|
hash = "sha256-kwM3TqXxkVq45oN9T+G7wmsBMdIJ/FN6ZoUysoM5PNY=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|