basalt: init at 0.9.0

faukah 7999bd11 1e8f965e

+34
+34
pkgs/by-name/ba/basalt/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + versionCheckHook, 7 + }: 8 + rustPlatform.buildRustPackage (finalAttrs: { 9 + pname = "basalt"; 10 + version = "0.9.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "erikjuhani"; 14 + repo = "basalt"; 15 + tag = "basalt/v${finalAttrs.version}"; 16 + hash = "sha256-r34MlNSLZAHqNWlFMGNxT6zTSX+IKKQmJ4klEB4kjek="; 17 + }; 18 + 19 + cargoHash = "sha256-TpbJ1HCBocgLAXGb5dBbZNMlOYXR9IGBRtfShgwlMIo="; 20 + 21 + nativeInstallCheckInputs = [ versionCheckHook ]; 22 + doInstallCheck = true; 23 + 24 + passthru.updateScript = nix-update-script { }; 25 + 26 + meta = { 27 + description = "TUI Application to manage Obsidian notes directly from the terminal"; 28 + homepage = "https://github.com/erikjuhani/basalt"; 29 + changelog = "https://github.com/erikjuhani/basalt/blob/${finalAttrs.src.tag}/basalt/CHANGELOG.md"; 30 + license = lib.licenses.mit; 31 + maintainers = with lib.maintainers; [ faukah ]; 32 + mainProgram = "basalt"; 33 + }; 34 + })