1 { lib, buildGoModule, fetchFromGitHub }:
7 src = fetchFromGitHub {
11 hash = "sha256-Bqy9eFUvUgSdyChzh52qqPVvMi+3ad01koxVgnibbLk=";
14 vendorHash = "sha256-/NMp64JeCQjCcEYkE6lYzu/E+irTcwkmDCJhB04ALFY=";
18 subPackages = [ "." ];
21 "-X github.com/kopia/kopia/repo.BuildVersion=${version}"
22 "-X github.com/kopia/kopia/repo.BuildInfo=${src.rev}"
26 homepage = "https://kopia.io";
27 description = "Cross-platform backup tool with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication";
28 mainProgram = "kopia";
29 license = licenses.asl20;
30 maintainers = [ maintainers.bbigras ];