depot/third_party/nixpkgs/pkgs/by-name/vo/void/package.nix

30 lines
670 B
Nix

{
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";
};
}