task-keeper: 0.33.0 -> 0.35.3 (#549050)

This commit is contained in:
Austin Horstman
2026-08-05 18:12:20 +00:00
committed by GitHub
2 changed files with 10 additions and 21 deletions

View File

@@ -6,24 +6,21 @@
openssl,
pkg-config,
runCommand,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "task-keeper";
version = "0.33.0";
version = "0.35.3";
src = fetchFromGitHub {
owner = "linux-china";
repo = "task-keeper";
tag = "v${finalAttrs.version}";
hash = "sha256-pSMF0ORwHUV9H6RAMRaEt/A61MVIj5cQcsY+wDDyAwk=";
hash = "sha256-T68AtpWTJCT2D9fqG/qxriofYYTcKc429njbMCFaTcw=";
};
patches = [
# https://github.com/linux-china/task-keeper/pull/20
./version.patch
];
env = {
OPENSSL_NO_VENDOR = 1;
};
@@ -31,12 +28,13 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
cargoHash = "sha256-leQpeB145seO2mPg+eqA3S5ATbRBzsXj9cWNsVpXF+U=";
cargoHash = "sha256-eox9D/6YrdlkTRN8X6nmkuDmr3edoyyj4Wn0fDfhYyI=";
# tests depend on many packages (java, node, python, sbt, ...) - which I'm not currently willing to set up 😅
doCheck = false;
passthru = {
updateScript = nix-update-script { };
tests = {
makefile =
runCommand "task-keeper-makefile-test"
@@ -74,8 +72,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
};
};
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
homepage = "https://github.com/linux-china/task-keeper";
changelog = "https://github.com/linux-china/task-keeper/releases/tag/v${finalAttrs.version}";
description = "CLI to manage tasks from different task runners or package managers";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [

View File

@@ -1,13 +0,0 @@
diff --git a/src/app.rs b/src/app.rs
index 77eaee4..daf3633 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -1,7 +1,7 @@
//! clap App for command cli
use clap::{Command, Arg, ArgAction};
-pub const VERSION: &str = "0.32.0";
+pub const VERSION: &str = "0.33.0";
pub fn build_app() -> Command {
Command::new("tk")