1 { lib, buildGoModule, fetchFromGitHub, nixosTests }:
4 pname = "restic-rest-server";
7 src = fetchFromGitHub {
11 hash = "sha256-o55y+g9XklKghVK1c6MTRI8EHLplTv5YKUWGRyyvmtk=";
14 vendorHash = "sha256-MBkh61vFogf0su/mP3b2J8t/LTtfVzLlpa9MSzAq6Tw=";
16 passthru.tests.restic = nixosTests.restic-rest-server;
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 ];