2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitLab, git, buildGoModule }:
|
2018-10-23 12:23:29 +02:00
|
|
|
|
2020-11-26 13:41:37 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gitlab-workhorse";
|
2016-01-30 14:47:04 +01:00
|
|
|
|
2021-01-29 21:13:59 +01:00
|
|
|
version = "8.58.2";
|
2018-09-21 09:31:30 +02:00
|
|
|
|
2018-11-23 14:47:18 +01:00
|
|
|
src = fetchFromGitLab {
|
2016-01-30 14:47:04 +01:00
|
|
|
owner = "gitlab-org";
|
|
|
|
repo = "gitlab-workhorse";
|
2016-08-03 18:49:18 +02:00
|
|
|
rev = "v${version}";
|
2021-01-29 21:13:59 +01:00
|
|
|
sha256 = "1ks8rla6hm618dxhr41x1ckzk3jxv0f7vl2547f7f1fl3zqna1zp";
|
2016-01-30 14:47:04 +01:00
|
|
|
};
|
|
|
|
|
2020-12-26 22:06:22 +01:00
|
|
|
vendorSha256 = "0vkw12w7vr0g4hf4f0im79y7l36d3ah01n1vl7siy94si47g8ir5";
|
2019-10-01 15:38:22 +02:00
|
|
|
buildInputs = [ git ];
|
2019-10-23 22:47:24 +02:00
|
|
|
buildFlagsArray = "-ldflags=-X main.Version=${version}";
|
2020-11-26 13:41:37 +01:00
|
|
|
doCheck = false;
|
2016-08-02 18:06:29 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.gitlab.com/";
|
2019-10-09 15:45:12 +02:00
|
|
|
platforms = platforms.linux;
|
2019-10-08 16:37:01 +02:00
|
|
|
maintainers = with maintainers; [ fpletz globin talyz ];
|
2016-09-27 15:49:21 +02:00
|
|
|
license = licenses.mit;
|
2016-08-02 18:06:29 +02:00
|
|
|
};
|
2016-01-30 14:47:04 +01:00
|
|
|
}
|