From bc7db25cab1a179b3f0404f1eb01376459781c00 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 8 Jul 2026 18:54:25 +0100 Subject: [PATCH] communique: init at 1.2.1 --- pkgs/by-name/co/communique/package.nix | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 pkgs/by-name/co/communique/package.nix diff --git a/pkgs/by-name/co/communique/package.nix b/pkgs/by-name/co/communique/package.nix new file mode 100644 index 000000000000..bf46339cb802 --- /dev/null +++ b/pkgs/by-name/co/communique/package.nix @@ -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"; + }; +})