13 src = fetchFromGitHub {
16 rev = "v${argset.version}";
17 hash = "sha256-qYu6V57SHMcOpcpJrDyX6jBSMaH2NOFbLReWoeutx5k=";
20 vendorHash = "sha256-jFsrGB7zC4LJNV4CpW/3JLrDIxtD4q7sBbY9gldEleU=";
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 ];