base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / tools / backup / restic / rest-server.nix
blob8d8cedb339be5ceb7f752b1f368031bbac5ebd36
1 { lib, buildGoModule, fetchFromGitHub, nixosTests }:
3 buildGoModule rec {
4   pname = "restic-rest-server";
5   version = "0.13.0";
7   src = fetchFromGitHub {
8     owner = "restic";
9     repo = "rest-server";
10     rev = "v${version}";
11     hash = "sha256-o55y+g9XklKghVK1c6MTRI8EHLplTv5YKUWGRyyvmtk=";
12   };
14   vendorHash = "sha256-MBkh61vFogf0su/mP3b2J8t/LTtfVzLlpa9MSzAq6Tw=";
16   passthru.tests.restic = nixosTests.restic-rest-server;
18   meta = with lib; {
19     changelog = "https://github.com/restic/rest-server/blob/${src.rev}/CHANGELOG.md";
20     description = "High performance HTTP server that implements restic's REST backend API";
21     mainProgram = "rest-server";
22     homepage = "https://github.com/restic/rest-server";
23     license = licenses.bsd2;
24     maintainers = with maintainers; [ dotlambda ];
25   };