zoekt: 3.7.2-2-unstable-2024-10-24 -> 3.7.2-2-unstable-2024-12-09 (#363818)
[NixPkgs.git] / pkgs / applications / version-management / gitlab / gitlab-workhorse / default.nix
blob9e0a2b9a8bfc3921312053408afc096a5e32f1b7
1 { lib, fetchFromGitLab, git, buildGoModule }:
2 let
3   data = lib.importJSON ../data.json;
4 in
5 buildGoModule rec {
6   pname = "gitlab-workhorse";
8   version = "17.6.2";
10   # nixpkgs-update: no auto update
11   src = fetchFromGitLab {
12     owner = data.owner;
13     repo = data.repo;
14     rev = data.rev;
15     sha256 = data.repo_hash;
16   };
18   sourceRoot = "${src.name}/workhorse";
20   vendorHash = "sha256-ir2Npjl39K2DzjT8fnbOOcMmfHiwFnVmvG04oh2GoOA=";
21   buildInputs = [ git ];
22   ldflags = [ "-X main.Version=${version}" ];
23   doCheck = false;
24   prodyVendor = true;
26   meta = with lib; {
27     homepage = "http://www.gitlab.com/";
28     platforms = platforms.linux;
29     maintainers = teams.gitlab.members;
30     license = licenses.mit;
31   };