13 src = fetchFromGitHub {
16 rev = "v${argset.version}";
17 hash = "sha256-E7kr2fKBabbFVmtVRjgYy5TWhvQYb/RjhiNEcXYXL0E=";
20 vendorHash = "sha256-wOdDG/J/JYGNUGSUCPVCNtO+5TFkt5O5kFYniQgcN7A=";
29 "-X main.version=${argset.version}"
30 "-X main.builtBy=nixpkgs"
36 installShellCompletion --bash --name chezmoi.bash completions/chezmoi-completion.bash
37 installShellCompletion --fish completions/chezmoi.fish
38 installShellCompletion --zsh completions/chezmoi.zsh
41 subPackages = [ "." ];
44 homepage = "https://www.chezmoi.io/";
45 description = "Manage your dotfiles across multiple machines, securely";
46 changelog = "https://github.com/twpayne/chezmoi/releases/tag/${argset.src.rev}";
47 license = lib.licenses.mit;
48 mainProgram = "chezmoi";
49 maintainers = with lib.maintainers; [ AndersonTorres ];