depot/third_party/nixpkgs/pkgs/development/tools/continuous-integration/agola/default.nix
Default email eeb71630af Project import generated by Copybara.
GitOrigin-RevId: 636051e353461f073ac55d5d42c1ed062a345046
2022-11-02 23:02:43 +01:00

41 lines
731 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
let
version = "0.7.0";
in
buildGoModule {
pname = "agola";
inherit version;
src = fetchFromGitHub {
owner = "agola-io";
repo = "agola";
rev = "v${version}";
sha256 = "sha256-AiD7mVogWk/TOYy7Ed1aT31h1kbrRwseue5qc3wLOCI=";
};
vendorSha256 = "sha256-Y3ck7Qdo9uq3YuLzZUe+RZkKQqWpSko3q+f4bfkSz6g=";
ldflags = [
"-w"
"-X agola.io/agola/cmd.Version=${version}"
];
tags = [
"sqlite_unlock_notify"
];
# somehow the tests get stuck
doCheck = false;
meta = with lib; {
description = "Agola: CI/CD Redefined ";
homepage = "https://agola.io";
maintainers = with maintainers; [ happysalada ];
license = licenses.mit;
};
}