1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5 nix-update-script,
6 versionCheckHook,
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "basilk";
11 version = "0.2.1";
12
13 src = fetchFromGitHub {
14 owner = "gabalpha";
15 repo = "basilk";
16 tag = version;
17 hash = "sha256-ZicrgRghUvKp42H03IV1mUIV8FN5cfEx7ncqZMi9t9o=";
18 };
19
20 cargoHash = "sha256-e0zPA+DB1z2J0fIbIgHMSvrpyeglBssIx1Axp7TpQsw=";
21
22 nativeInstallCheckInputs = [
23 versionCheckHook
24 ];
25
26 versionCheckProgramArg = "--version";
27 doInstallCheck = true;
28
29 passthru = {
30 updateScript = nix-update-script { };
31 };
32
33 meta = {
34 description = "Terminal User Interface (TUI) to manage your tasks with minimal kanban logic";
35 homepage = "https://github.com/gabalpha/basilk";
36 changelog = "https://github.com/GabAlpha/basilk/releases/tag/${version}";
37 license = lib.licenses.asl20;
38 maintainers = with lib.maintainers; [ thtrf ];
39 mainProgram = "basilk";
40 };
41}