gitlab-workhorse: 6.0.0 -> 6.1.0
This commit is contained in:
parent
f17f59ca8e
commit
96c1765bac
@ -2,27 +2,20 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gitlab-workhorse-${version}";
|
name = "gitlab-workhorse-${version}";
|
||||||
|
|
||||||
version = "6.0.0";
|
version = "6.1.0";
|
||||||
|
|
||||||
srcs = fetchFromGitLab {
|
srcs = fetchFromGitLab {
|
||||||
owner = "gitlab-org";
|
owner = "gitlab-org";
|
||||||
repo = "gitlab-workhorse";
|
repo = "gitlab-workhorse";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0bg6rci69953h6zpdlv7pmjg751i31ykk6vggxb0ir0a6m8i3vn6";
|
sha256 = "0h0mqalia4ldb2icr2h6x75pnr5jb5y23pi4kv4ri3w3ddnl74bq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git go ];
|
buildInputs = [ git go ];
|
||||||
|
|
||||||
patches = [ ./remove-hardcoded-paths.patch ./deterministic-build.patch ];
|
patches = [ ./remove-hardcoded-paths.patch ];
|
||||||
|
|
||||||
buildPhase = ''
|
makeFlags = [ "PREFIX=$(out)" "VERSION=${version}" ];
|
||||||
make PREFIX=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
make install PREFIX=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.gitlab.com/;
|
homepage = http://www.gitlab.com/;
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
--- 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