zed-discord-presence: init at 0.8.0 (#410264)

This commit is contained in:
isabel 2025-07-04 19:41:50 +01:00 committed by GitHub
commit 6951112e1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,32 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "zed-discord-presence";
version = "0.8.0";
src = fetchFromGitHub {
owner = "xhyrom";
repo = "zed-discord-presence";
tag = "v${finalAttrs.version}";
hash = "sha256-6KpjJajibMY7pBR5XhZf2KPBkBMkdcYKutifNdF3Hko=";
};
cargoBuildFlags = [ "--package discord-presence-lsp" ];
cargoHash = "sha256-2hQHhrbUYKDtFX8ZiDpVYrd9/g6bCi9XL0VwKDWFE+s=";
passthru.updateScript = nix-update-script { };
meta = {
description = "Discord rich presence for Zed";
homepage = "https://github.com/xhyrom/zed-discord-presence";
changelog = "https://github.com/xhyrom/zed-discord-presence/releases/tag/v${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ bddvlpr ];
mainProgram = "discord-presence-lsp";
};
})