nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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 doInstallCheck = true;
27
28 passthru = {
29 updateScript = nix-update-script { };
30 };
31
32 meta = {
33 description = "Terminal User Interface (TUI) to manage your tasks with minimal kanban logic";
34 homepage = "https://github.com/gabalpha/basilk";
35 changelog = "https://github.com/GabAlpha/basilk/releases/tag/${version}";
36 license = lib.licenses.asl20;
37 maintainers = with lib.maintainers; [ thtrf ];
38 mainProgram = "basilk";
39 };
40}