mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
732d235309
Diff: https://github.com/restic/rest-server/compare/v0.11.0...v0.12.0 Changelog: https://github.com/restic/rest-server/blob/v0.12.0/CHANGELOG.md
25 lines
747 B
Nix
25 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 ];
|
|
};
|
|
}
|