restic-rest-server: 0.10.0 -> 0.11.0
https://github.com/restic/rest-server/releases/tag/v0.11.0
This commit is contained in:
parent
de43d26955
commit
0c10da55e4
@ -2,19 +2,20 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "restic-rest-server";
|
pname = "restic-rest-server";
|
||||||
version = "0.10.0";
|
version = "0.11.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "restic";
|
owner = "restic";
|
||||||
repo = "rest-server";
|
repo = "rest-server";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1msa6mah76zfif5wp0129jjk2jlq5ff38p9p6d241mw45i1xjfy7";
|
hash = "sha256-ninPODztNzvB2js9cuNAuExQLK/OGOu80ZNW0BPrdds=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "04w63sx7p0fm9xq0m7xab808az7lgw7i3p8basndszky8kgvxhmg";
|
vendorSha256 = "sha256-8x5qYvIX/C5BaewrTNVbIIadL+7XegbRUZiEDWmJM+c=";
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
substituteInPlace handlers_test.go --replace "TestJoin" "SkipTestJoin"
|
substituteInPlace cmd/rest-server/main_test.go \
|
||||||
|
--replace "/tmp/restic" "/build/restic"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user