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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
894 B
Nix
Raw Normal View History

{ lib, fetchFromGitLab, buildGoModule, ruby, libkrb5 }:
2015-01-25 21:10:04 +00:00
2020-11-26 12:41:28 +00:00
buildGoModule rec {
pname = "gitlab-shell";
version = "14.29.0";
2023-10-24 11:59:25 +00:00
# nixpkgs-update: no auto update
2018-09-21 07:34:26 +00:00
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-shell";
rev = "v${version}";
sha256 = "sha256-MhvFLBH0CLiGNTEjHy7vDhLE3YsvbBL8XRNytPEa6uU=";
};
buildInputs = [ ruby libkrb5 ];
patches = [ ./remove-hardcoded-locations.patch ];
vendorHash = "sha256-g1ZaRY0A7oREByNicPvnuxakYrNQNXg4Vy94iyNVdDY=";
2020-09-28 21:42:57 +00:00
postInstall = ''
2020-11-26 12:41:28 +00:00
cp -r "$NIX_BUILD_TOP/source"/bin/* $out/bin
cp -r "$NIX_BUILD_TOP/source"/{support,VERSION} $out/
'';
2020-11-26 12:41:28 +00:00
doCheck = false;
meta = with lib; {
2018-09-21 07:34:26 +00:00
description = "SSH access and repository management app for GitLab";
homepage = "http://www.gitlab.com/";
platforms = platforms.linux;
maintainers = teams.gitlab.members;
2016-09-27 13:49:21 +00:00
license = licenses.mit;
};
}