@@ -0,0 +1,32 @@
1+{ lib, fetchFromGitHub, installShellFiles, buildGoModule }:
7+ src = fetchFromGitHub {
8+ owner = "cupcakearmy";
11+ sha256 = "yQgSJ0SQNWPMyrYn8rep+1b549HP8sOERh+kOiAK3+c=";
14+ vendorSha256 = "7648gAguqeqLKFS9xRcx20wpSLb+ykZ7rOqR5PKe71o=";
16+ nativeBuildInputs = [ installShellFiles ];
19+ installShellCompletion --cmd autorestic \
20+ --bash <($out/bin/autorestic completion bash) \
21+ --fish <($out/bin/autorestic completion fish) \
22+ --zsh <($out/bin/autorestic completion zsh)
26+ description = "High level CLI utility for restic";
27+ homepage = "https://github.com/cupcakearmy/autorestic";
28+ license = licenses.asl20;
29+ maintainers = with maintainers; [ renesat ];
30+ platforms = platforms.linux ++ platforms.darwin;