nixpkgs/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix

27 lines
675 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitLab, git, buildGoPackage }:
2018-10-23 10:23:29 +00:00
buildGoPackage rec {
pname = "gitlab-workhorse";
version = "8.54.0";
2018-09-21 07:31:30 +00:00
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-workhorse";
rev = "v${version}";
sha256 = "0fz00sl9q4d3vbslh7y9nsnhjshgfg0x7mv7b7a9sc3mxmabp7gz";
};
goPackagePath = "gitlab.com/gitlab-org/gitlab-workhorse";
goDeps = ./deps.nix;
buildInputs = [ git ];
buildFlagsArray = "-ldflags=-X main.Version=${version}";
2016-09-27 13:49:21 +00:00
meta = with stdenv.lib; {
homepage = "http://www.gitlab.com/";
platforms = platforms.linux;
maintainers = with maintainers; [ fpletz globin talyz ];
2016-09-27 13:49:21 +00:00
license = licenses.mit;
};
}