basilk: init at 0.2.0

This commit is contained in:
thtrf
2024-12-27 22:38:57 +01:00
parent 0aa5001f36
commit aa1cc643da
+41
View File
@@ -0,0 +1,41 @@
{
lib,
fetchFromGitHub,
rustPlatform,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
pname = "basilk";
version = "0.2.0";
src = fetchFromGitHub {
owner = "gabalpha";
repo = "basilk";
tag = version;
hash = "sha256-b77vVf+WbDNzKwGaMJvgMEMCC41h5TXmg45OM9g4v+4=";
};
cargoHash = "sha256-ZYyRUqWbwAoNaGuCXJvqWTgUm5jNpihqvPe5SsfjEq4=";
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Terminal User Interface (TUI) to manage your tasks with minimal kanban logic";
homepage = "https://github.com/gabalpha/basilk";
changelog = "https://github.com/GabAlpha/basilk/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ thtrf ];
mainProgram = "basilk";
};
}