gitlab-workhorse: 4.2.0 -> 6.0.0
This commit is contained in:
parent
72dd8565d8
commit
45aa373fa9
@ -1,19 +1,19 @@
|
|||||||
{ stdenv, fetchFromGitLab, git, go }:
|
{ stdenv, fetchFromGitLab, git, go }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "4.2.0";
|
|
||||||
name = "gitlab-workhorse-${version}";
|
name = "gitlab-workhorse-${version}";
|
||||||
|
|
||||||
|
version = "6.0.0";
|
||||||
|
|
||||||
srcs = fetchFromGitLab {
|
srcs = fetchFromGitLab {
|
||||||
owner = "gitlab-org";
|
owner = "gitlab-org";
|
||||||
repo = "gitlab-workhorse";
|
repo = "gitlab-workhorse";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "11n43mfp7a59iq8k7sh9bnww3bq56ml2p6752csclg77xii6dzyy";
|
sha256 = "0bg6rci69953h6zpdlv7pmjg751i31ykk6vggxb0ir0a6m8i3vn6";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git go ];
|
buildInputs = [ git go ];
|
||||||
|
|
||||||
patches = [ ./remove-hardcoded-paths.patch ];
|
patches = [ ./remove-hardcoded-paths.patch ./deterministic-build.patch ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make PREFIX=$out
|
make PREFIX=$out
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
--- a/Makefile 2018-08-31 09:41:32.784419122 +0200
|
||||||
|
+++ b/Makefile 2018-08-31 09:31:22.384313577 +0200
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
PREFIX=/usr/local
|
||||||
|
-VERSION=$(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
|
||||||
|
+VERSION=6.0.0
|
||||||
|
BUILD_DIR = $(shell pwd)
|
||||||
|
export GOPATH=${BUILD_DIR}/_build
|
||||||
|
export PATH:=${GOPATH}/bin:${PATH}
|
Loading…
x
Reference in New Issue
Block a user