gitlab-workhorse: use buildGoModule

This commit is contained in:
Milan Pässler 2020-11-26 13:41:37 +01:00
parent 2e4862d3ba
commit 844eddf330
2 changed files with 4 additions and 2527 deletions

View file

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitLab, git, buildGoPackage }:
{ stdenv, fetchFromGitLab, git, buildGoModule }:
buildGoPackage rec {
buildGoModule rec {
pname = "gitlab-workhorse";
version = "8.54.0";
@ -12,10 +12,10 @@ buildGoPackage rec {
sha256 = "0fz00sl9q4d3vbslh7y9nsnhjshgfg0x7mv7b7a9sc3mxmabp7gz";
};
goPackagePath = "gitlab.com/gitlab-org/gitlab-workhorse";
goDeps = ./deps.nix;
vendorSha256 = "0wi6vj9phwh0bsdk2lrgq807nb90iivlm0bkdjkim06jq068mizj";
buildInputs = [ git ];
buildFlagsArray = "-ldflags=-X main.Version=${version}";
doCheck = false;
meta = with stdenv.lib; {
homepage = "http://www.gitlab.com/";

File diff suppressed because it is too large Load diff