2023-07-12 16:06:56 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-04-10 09:08:20 +00:00
|
|
|
|
2020-10-29 14:37:21 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "restic-rest-server";
|
2023-07-15 03:00:31 +00:00
|
|
|
version = "0.12.1";
|
2018-04-10 09:08:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-05-13 19:22:42 +00:00
|
|
|
owner = "restic";
|
|
|
|
repo = "rest-server";
|
2018-04-10 09:08:20 +00:00
|
|
|
rev = "v${version}";
|
2023-07-15 03:00:31 +00:00
|
|
|
hash = "sha256-0zmUI7LUKVXUdPsNxY7RQxbsAraY0GrTMAS3kORIU6I=";
|
2018-04-10 09:08:20 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 03:00:31 +00:00
|
|
|
vendorHash = "sha256-tD5ffIYULMBqu99l1xCL0RnLB9zNpwNPs1qVFqezUc8=";
|
2018-04-10 09:08:20 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2023-05-01 07:45:22 +00:00
|
|
|
changelog = "https://github.com/restic/rest-server/blob/${src.rev}/CHANGELOG.md";
|
2018-04-10 09:08:20 +00:00
|
|
|
description = "A high performance HTTP server that implements restic's REST backend API";
|
2023-04-09 01:30:09 +00:00
|
|
|
homepage = "https://github.com/restic/rest-server";
|
2018-04-10 09:08:20 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|