nixpkgs/pkgs/tools/backup/restic/rest-server.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
703 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2018-04-10 09:08:20 +00:00
2020-10-29 14:37:21 +00:00
buildGoModule rec {
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 {
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; {
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";
homepage = "https://github.com/restic/rest-server";
2018-04-10 09:08:20 +00:00
license = licenses.bsd2;
maintainers = with maintainers; [ dotlambda ];
};
}