1 { lib, fetchFromGitLab, git, buildGoModule }:
3 data = lib.importJSON ../data.json;
6 pname = "gitlab-workhorse";
10 # nixpkgs-update: no auto update
11 src = fetchFromGitLab {
15 sha256 = data.repo_hash;
18 sourceRoot = "${src.name}/workhorse";
20 vendorHash = "sha256-ir2Npjl39K2DzjT8fnbOOcMmfHiwFnVmvG04oh2GoOA=";
21 buildInputs = [ git ];
22 ldflags = [ "-X main.Version=${version}" ];
27 homepage = "http://www.gitlab.com/";
28 platforms = platforms.linux;
29 maintainers = teams.gitlab.members;
30 license = licenses.mit;