depot/third_party/nixpkgs/pkgs/development/tools/continuous-integration/agola/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

42 lines
736 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
let
version = "0.9.1";
in
buildGoModule {
pname = "agola";
inherit version;
src = fetchFromGitHub {
owner = "agola-io";
repo = "agola";
rev = "v${version}";
hash = "sha256-96D4E4H3JsXCHWUyTKzZxqsqylJdzbnbLi6engNR/Eg=";
};
vendorHash = "sha256-Igtccundx/2PHFp8+L44CvOLG+/Ndinhonh/EDcQeoY=";
ldflags = [
"-s"
"-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;
};
}