mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
26 lines
615 B
Nix
26 lines
615 B
Nix
{ stdenv, fetchFromGitLab, git, go }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gitlab-workhorse-${version}";
|
|
|
|
version = "8.3.3";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "gitlab-org";
|
|
repo = "gitlab-workhorse";
|
|
rev = "v${version}";
|
|
sha256 = "08v5ga9qbrs1xciw4cjhsjpqcp6cxzymc2y39la2a4lgb2cgyi10";
|
|
};
|
|
|
|
buildInputs = [ git go ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" "VERSION=${version}" "GOCACHE=$(TMPDIR)/go-cache" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.gitlab.com/;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ fpletz globin ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|