taskwarrior3: 3.3.0 -> 3.4.1 (#390255)
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
|
||||
# buildInputs
|
||||
libuuid,
|
||||
xdg-utils,
|
||||
|
||||
# passthru.tests
|
||||
nixosTests,
|
||||
@@ -25,24 +24,20 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "taskwarrior";
|
||||
version = "3.3.0";
|
||||
version = "3.4.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "GothenburgBitFactory";
|
||||
repo = "taskwarrior";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-aKDwRCJ1yopRdsPxnHhgOpSho1i8/dcAurI+XhpSbn4=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-00HiGju4pIswx8Z+M+ATdBSupiMS2xIm2ZnE52k/RwA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
name = "${finalAttrs.pname}-${finalAttrs.version}-cargo-deps";
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-UbJodQBCrmXbw5+ahusBnEcoCYGFHRA6bg5hf9/prmA=";
|
||||
hash = "sha256-trc5DIWf68XRBSMjeG/ZchuwFA56wJnLbqm17gE+jYQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/commands/CmdNews.cpp \
|
||||
--replace-fail "xdg-open" "${lib.getBin xdg-utils}/bin/xdg-open"
|
||||
'';
|
||||
# The CMakeLists files used by upstream issue a `cargo install` command to
|
||||
# install a rust tool (cxxbridge-cmd) that is supposed to be included in the Cargo.toml's and
|
||||
# `Cargo.lock` files of upstream. Setting CARGO_HOME like that helps `cargo
|
||||
@@ -119,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
passthru.tests.nixos = nixosTests.taskchampion-sync-server;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/GothenburgBitFactory/taskwarrior/releases/tag/v${finalAttrs.src.rev}";
|
||||
changelog = "https://github.com/GothenburgBitFactory/taskwarrior/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Highly flexible command-line tool to manage TODO lists";
|
||||
homepage = "https://taskwarrior.org";
|
||||
license = lib.licenses.mit;
|
||||
|
||||
Reference in New Issue
Block a user