dotter: format with rfc style

This commit is contained in:
linsui 2024-08-10 12:17:43 +08:00 committed by Alyssa Ross
parent 44e7e48778
commit 200a81b3f0

View File

@ -1,11 +1,12 @@
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, rustPlatform
, darwin
, which
, installShellFiles
{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
rustPlatform,
darwin,
which,
installShellFiles,
}:
rustPlatform.buildRustPackage rec {
@ -23,7 +24,10 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreServices ];
nativeCheckInputs = [ which installShellFiles ];
nativeCheckInputs = [
which
installShellFiles
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd dotter \
@ -36,7 +40,6 @@ rustPlatform.buildRustPackage rec {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Dotfile manager and templater written in rust 🦀";
homepage = "https://github.com/SuperCuber/dotter";