blob: 02cd0f25acd5203d41cda42bdba26a432982cf21 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ lib
, buildGoModule
, fetchFromGitHub
}:
let
version = "0.8.0";
in
buildGoModule {
pname = "agola";
inherit version;
src = fetchFromGitHub {
owner = "agola-io";
repo = "agola";
rev = "v${version}";
hash = "sha256-nU04MVkUC+m6Ga4qDUH9KrA0zbYmttAicpvdxbaBG0Y=";
};
vendorHash = "sha256-k3Sip9CqTGRTWxr3RzZf0jCrm4AfUrpY/wSTmHy+yik=";
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;
};
}
|