reproxy: 0.7.0 → 0.8.0
This commit is contained in:
parent
c5bff358e9
commit
bda8c3cb4a
|
@ -2,19 +2,21 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "reproxy";
|
pname = "reproxy";
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "umputun";
|
owner = "umputun";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-TwqfnOKWpFC3fnHNu3/F6KLHuzE7uF6WEgZOArntpWI=";
|
hash = "sha256-zwQZr6BbvJ2Ol5pCLkZ49j0j5KWTK0N8BybvTr8PPeg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Requires network access
|
# Requires network access
|
||||||
substituteInPlace app/main_test.go \
|
substituteInPlace app/main_test.go \
|
||||||
--replace "Test_Main" "Skip_Main"
|
--replace "Test_Main" "Skip_Main"
|
||||||
|
substituteInPlace app/proxy/proxy_test.go \
|
||||||
|
--replace "TestHttp_matchHandler" "SkipHttp_matchHandler"
|
||||||
'' + lib.optionalString stdenv.isDarwin ''
|
'' + lib.optionalString stdenv.isDarwin ''
|
||||||
# Fails on Darwin.
|
# Fails on Darwin.
|
||||||
# https://github.com/umputun/reproxy/issues/77
|
# https://github.com/umputun/reproxy/issues/77
|
||||||
|
|
Loading…
Reference in a new issue