2016-01-30 05:47:04 -08:00
|
|
|
{ stdenv, fetchFromGitLab, git, go }:
|
2018-10-23 03:23:29 -07:00
|
|
|
|
2016-01-30 05:47:04 -08:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gitlab-workhorse-${version}";
|
|
|
|
|
2019-05-03 11:20:43 -07:00
|
|
|
version = "8.5.2";
|
2018-09-21 00:31:30 -07:00
|
|
|
|
2018-11-23 05:47:18 -08:00
|
|
|
src = fetchFromGitLab {
|
2016-01-30 05:47:04 -08:00
|
|
|
owner = "gitlab-org";
|
|
|
|
repo = "gitlab-workhorse";
|
2016-08-03 09:49:18 -07:00
|
|
|
rev = "v${version}";
|
2019-05-03 11:20:43 -07:00
|
|
|
sha256 = "0c1wpp81wr4x00pmc2z41xh4vy7yk97fkcg0cdy7gbz2hc5cm296";
|
2016-01-30 05:47:04 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ git go ];
|
|
|
|
|
2019-02-27 17:46:32 -08:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "VERSION=${version}" "GOCACHE=$(TMPDIR)/go-cache" ];
|
2016-08-02 09:06:29 -07:00
|
|
|
|
2016-09-27 06:49:21 -07:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.gitlab.com/;
|
|
|
|
platforms = platforms.unix;
|
2018-04-25 10:56:45 -07:00
|
|
|
maintainers = with maintainers; [ fpletz globin ];
|
2016-09-27 06:49:21 -07:00
|
|
|
license = licenses.mit;
|
2016-08-02 09:06:29 -07:00
|
|
|
};
|
2016-01-30 05:47:04 -08:00
|
|
|
}
|