12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-7YExvmuliTL9oagXNUtZ7ZOPyELcS+igK1tXdhG0kQk=";
23 cargoHash = "sha256-LEOORHD0j+HVl/fB9Q2xVZ2AxZKsPE5SeOS1ZsKwTSo=";
25 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
26 darwin.apple_sdk.frameworks.CoreServices
34 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
35 installShellCompletion --cmd dotter \
36 --bash <($out/bin/dotter gen-completions --shell bash) \
37 --fish <($out/bin/dotter gen-completions --shell fish) \
38 --zsh <($out/bin/dotter gen-completions --shell zsh)
42 updateScript = nix-update-script { };
46 description = "Dotfile manager and templater written in rust 🦀";
47 homepage = "https://github.com/SuperCuber/dotter";
48 license = licenses.unlicense;
49 maintainers = with maintainers; [ linsui ];
50 mainProgram = "dotter";