gitlab-workhorse: use buildGoModule
This commit is contained in:
parent
2e4862d3ba
commit
844eddf330
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchFromGitLab, git, buildGoPackage }:
|
{ stdenv, fetchFromGitLab, git, buildGoModule }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "gitlab-workhorse";
|
pname = "gitlab-workhorse";
|
||||||
|
|
||||||
version = "8.54.0";
|
version = "8.54.0";
|
||||||
|
@ -12,10 +12,10 @@ buildGoPackage rec {
|
||||||
sha256 = "0fz00sl9q4d3vbslh7y9nsnhjshgfg0x7mv7b7a9sc3mxmabp7gz";
|
sha256 = "0fz00sl9q4d3vbslh7y9nsnhjshgfg0x7mv7b7a9sc3mxmabp7gz";
|
||||||
};
|
};
|
||||||
|
|
||||||
goPackagePath = "gitlab.com/gitlab-org/gitlab-workhorse";
|
vendorSha256 = "0wi6vj9phwh0bsdk2lrgq807nb90iivlm0bkdjkim06jq068mizj";
|
||||||
goDeps = ./deps.nix;
|
|
||||||
buildInputs = [ git ];
|
buildInputs = [ git ];
|
||||||
buildFlagsArray = "-ldflags=-X main.Version=${version}";
|
buildFlagsArray = "-ldflags=-X main.Version=${version}";
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://www.gitlab.com/";
|
homepage = "http://www.gitlab.com/";
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue