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"
'';
nativeBuildInputs = [
cmake
libuuid
python3
installShellFiles
corrosion
cargo
rustc
rustPlatform.cargoSetupHook
] ++ lib.optionals stdenv.isDarwin [
# darwin dependencies
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
nativeBuildInputs =
[
cmake
libuuid
python3
installShellFiles
corrosion
cargo
rustc
rustPlatform.cargoSetupHook
]
++ lib.optionals stdenv.isDarwin [
# darwin dependencies
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
doCheck = true;
checkTarget = "build_tests";
@ -73,13 +75,18 @@ stdenv.mkDerivation rec {
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";
description = "Highly flexible command-line tool to manage TODO lists";
homepage = "https://taskwarrior.org";
license = licenses.mit;
maintainers = with maintainers; [marcweber oxalica mlaradji];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
marcweber
oxalica
mlaradji
doronbehar
];
mainProgram = "task";
platforms = platforms.unix;
platforms = lib.platforms.unix;
};
}