mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
parent
52671145da
commit
e03dc36a26
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user