Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
694 B
Nix
32 lines
694 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildGoModule,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "coze";
|
|
version = "0.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Cyphrme";
|
|
repo = "Coze_cli";
|
|
rev = "v${version}";
|
|
hash = "sha256-/Cznx5Q0a9vVrC4oAoBmAkejT1505AQzzCW/wi3itv4=";
|
|
};
|
|
|
|
vendorHash = "sha256-MdU6fls9jQ51uCa+nB8RF8XDoZ3XgGowUGcSOAK/k+4=";
|
|
|
|
postInstall = ''
|
|
mv $out/bin/coze_cli $out/bin/coze
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "CLI client for Coze, a cryptographic JSON messaging specification";
|
|
mainProgram = "coze";
|
|
homepage = "https://github.com/Cyphrme/coze_cli";
|
|
license = with licenses; [ bsd3 ];
|
|
maintainers = with maintainers; [ qbit ];
|
|
};
|
|
}
|