94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
24 lines
747 B
Nix
24 lines
747 B
Nix
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
|
|
|
buildGoModule rec {
|
|
pname = "restic-rest-server";
|
|
version = "0.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "restic";
|
|
repo = "rest-server";
|
|
rev = "v${version}";
|
|
hash = "sha256-FnT7AG9na/KdWimUqhcF1QndGdT+Nc8ao5zlSeN/fJ0=";
|
|
};
|
|
|
|
vendorHash = "sha256-Q0XazJmfmAwR2wXD/RXO6nPiNyWFubBYL3kNFKBRMzc=";
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/restic/rest-server/blob/${src.rev}/CHANGELOG.md";
|
|
description = "A high performance HTTP server that implements restic's REST backend API";
|
|
homepage = "https://github.com/restic/rest-server";
|
|
platforms = platforms.unix;
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|