about summary refs log tree commit diff
path: root/pkgs/tools/misc/void/default.nix
blob: 8ead979eed8040e0872e73babd878ba9045eee66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "void";
  version = "1.1.5";

  src = fetchFromGitHub {
    owner = "spacejam";
    repo = "void";
    rev = version;
    sha256 = "08vazw4rszqscjz988k89z28skyj3grm81bm5iwknxxagmrb20fz";
  };

  # The tests are long-running and not that useful
  doCheck = false;

  cargoHash = "sha256-4LLm8EIGR9YJyVlSLRsQmBJc0QZaxBQafE4VLsDyAfI=";

  meta = with lib; {
    description = "Terminal-based personal organizer";
    homepage = "https://github.com/spacejam/void";
    license = licenses.gpl3;
    maintainers = with maintainers; [ spacekookie ];
    mainProgram = "void";
  };
}