communique: init at 1.2.1 (#539681)

This commit is contained in:
Oleksii Filonenko
2026-07-15 22:24:57 +00:00
committed by GitHub
+47
View File
@@ -0,0 +1,47 @@
{
lib,
rustPlatform,
fetchFromGitHub,
cacert,
gitMinimal,
ripgrep,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "communique";
version = "1.2.1";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "jdx";
repo = "communique";
tag = "v${finalAttrs.version}";
hash = "sha256-lQN6LViO3Ta6eCbU6j76OFN95R6A0hP3Pfc38KrHDng=";
};
cargoHash = "sha256-RJzjpDhxpi7Zmzw9kl48yq6//zTYOeJ+SrgAfqq/tl4=";
nativeCheckInputs = [
cacert
gitMinimal
ripgrep
];
__darwinAllowLocalNetworking = true;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Editorialized release notes powered by AI";
homepage = "https://github.com/jdx/communique";
changelog = "https://github.com/jdx/communique/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ Br1ght0ne ];
mainProgram = "communique";
};
})