taskwarrior3: small formatting fixes & add doronbehar to maintainers

Use nixfmt-rfc-style to format it in addition to manual `with <>;`
removals.
This commit is contained in:
Doron Behar 2024-06-10 20:20:46 +03:00
parent 52671145da
commit e03dc36a26

View File

@ -29,20 +29,22 @@ stdenv.mkDerivation rec {
--replace "xdg-open" "${lib.getBin xdg-utils}/bin/xdg-open" --replace "xdg-open" "${lib.getBin xdg-utils}/bin/xdg-open"
''; '';
nativeBuildInputs = [ nativeBuildInputs =
cmake [
libuuid cmake
python3 libuuid
installShellFiles python3
corrosion installShellFiles
cargo corrosion
rustc cargo
rustPlatform.cargoSetupHook rustc
] ++ lib.optionals stdenv.isDarwin [ rustPlatform.cargoSetupHook
# darwin dependencies ]
darwin.apple_sdk.frameworks.Security ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration # darwin dependencies
]; darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
doCheck = true; doCheck = true;
checkTarget = "build_tests"; checkTarget = "build_tests";
@ -73,13 +75,18 @@ stdenv.mkDerivation rec {
ln -s $out/share/vim-plugins/task $out/share/nvim/site ln -s $out/share/vim-plugins/task $out/share/nvim/site
''; '';
meta = with lib; { meta = {
changelog = "https://github.com/GothenburgBitFactory/taskwarrior/blob/${src.rev}/ChangeLog"; changelog = "https://github.com/GothenburgBitFactory/taskwarrior/blob/${src.rev}/ChangeLog";
description = "Highly flexible command-line tool to manage TODO lists"; description = "Highly flexible command-line tool to manage TODO lists";
homepage = "https://taskwarrior.org"; homepage = "https://taskwarrior.org";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [marcweber oxalica mlaradji]; maintainers = with lib.maintainers; [
marcweber
oxalica
mlaradji
doronbehar
];
mainProgram = "task"; mainProgram = "task";
platforms = platforms.unix; platforms = lib.platforms.unix;
}; };
} }