Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildGoModule }: 2 3buildGoModule rec { 4 pname = "coze"; 5 version = "0.0.3"; 6 7 src = fetchFromGitHub { 8 owner = "Cyphrme"; 9 repo = "Coze_cli"; 10 rev = "v${version}"; 11 hash = "sha256-/Cznx5Q0a9vVrC4oAoBmAkejT1505AQzzCW/wi3itv4="; 12 }; 13 14 vendorHash = "sha256-MdU6fls9jQ51uCa+nB8RF8XDoZ3XgGowUGcSOAK/k+4="; 15 16 postInstall = '' 17 mv $out/bin/coze_cli $out/bin/coze 18 ''; 19 20 meta = with lib; { 21 description = "CLI client for Coze, a cryptographic JSON messaging specification."; 22 homepage = "https://github.com/Cyphrme/coze_cli"; 23 license = with licenses; [ bsd3 ]; 24 maintainers = with maintainers; [ qbit ]; 25 }; 26}