Skip to content

Commit 70df901

Browse files
authored
taskwarrior3: 3.3.0 -> 3.4.1 (#390255)
2 parents efed5ad + 888d06d commit 70df901

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

pkgs/by-name/ta/taskwarrior3/package.nix

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
# buildInputs
1414
libuuid,
15-
xdg-utils,
1615

1716
# passthru.tests
1817
nixosTests,
@@ -25,24 +24,20 @@
2524
}:
2625
stdenv.mkDerivation (finalAttrs: {
2726
pname = "taskwarrior";
28-
version = "3.3.0";
27+
version = "3.4.1";
2928
src = fetchFromGitHub {
3029
owner = "GothenburgBitFactory";
3130
repo = "taskwarrior";
32-
rev = "v${finalAttrs.version}";
33-
hash = "sha256-aKDwRCJ1yopRdsPxnHhgOpSho1i8/dcAurI+XhpSbn4=";
31+
tag = "v${finalAttrs.version}";
32+
hash = "sha256-00HiGju4pIswx8Z+M+ATdBSupiMS2xIm2ZnE52k/RwA=";
3433
fetchSubmodules = true;
3534
};
3635
cargoDeps = rustPlatform.fetchCargoVendor {
3736
name = "${finalAttrs.pname}-${finalAttrs.version}-cargo-deps";
3837
inherit (finalAttrs) src;
39-
hash = "sha256-UbJodQBCrmXbw5+ahusBnEcoCYGFHRA6bg5hf9/prmA=";
38+
hash = "sha256-trc5DIWf68XRBSMjeG/ZchuwFA56wJnLbqm17gE+jYQ=";
4039
};
4140

42-
postPatch = ''
43-
substituteInPlace src/commands/CmdNews.cpp \
44-
--replace-fail "xdg-open" "${lib.getBin xdg-utils}/bin/xdg-open"
45-
'';
4641
# The CMakeLists files used by upstream issue a `cargo install` command to
4742
# install a rust tool (cxxbridge-cmd) that is supposed to be included in the Cargo.toml's and
4843
# `Cargo.lock` files of upstream. Setting CARGO_HOME like that helps `cargo
@@ -119,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
119114
passthru.tests.nixos = nixosTests.taskchampion-sync-server;
120115

121116
meta = {
122-
changelog = "https://github.com/GothenburgBitFactory/taskwarrior/releases/tag/v${finalAttrs.src.rev}";
117+
changelog = "https://github.com/GothenburgBitFactory/taskwarrior/releases/tag/${finalAttrs.src.tag}";
123118
description = "Highly flexible command-line tool to manage TODO lists";
124119
homepage = "https://taskwarrior.org";
125120
license = lib.licenses.mit;

0 commit comments

Comments
 (0)