Skip to content

Commit aa1cc64

Browse files
committed
basilk: init at 0.2.0
1 parent 0aa5001 commit aa1cc64

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

pkgs/by-name/ba/basilk/package.nix

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
rustPlatform,
5+
nix-update-script,
6+
versionCheckHook,
7+
}:
8+
9+
rustPlatform.buildRustPackage rec {
10+
pname = "basilk";
11+
version = "0.2.0";
12+
13+
src = fetchFromGitHub {
14+
owner = "gabalpha";
15+
repo = "basilk";
16+
tag = version;
17+
hash = "sha256-b77vVf+WbDNzKwGaMJvgMEMCC41h5TXmg45OM9g4v+4=";
18+
};
19+
20+
cargoHash = "sha256-ZYyRUqWbwAoNaGuCXJvqWTgUm5jNpihqvPe5SsfjEq4=";
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+
}

0 commit comments

Comments
 (0)