Unverified Commit cc679fac authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

rcon-cli: init at 1.7.0 (#417108)

parents db03ff38 752d6a93
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -14282,6 +14282,12 @@
    githubId = 75130626;
    keys = [ { fingerprint = "80EE AAD8 43F9 3097 24B5  3D7E 27E9 7B91 E63A 7FF8"; } ];
  };
  link00000000 = {
    email = "crandall.logan@gmail.com";
    github = "link00000000";
    githubId = 9771505;
    name = "Logan Crandall";
  };
  link2xt = {
    email = "link2xt@testrun.org";
    githubId = 18373967;
+33 −0
Original line number Diff line number Diff line
{
  buildGoModule,
  fetchFromGitHub,
  lib,
  nix-update-script,
}:
buildGoModule (finalAttrs: {
  pname = "rcon-cli";
  version = "1.7.0";

  src = fetchFromGitHub {
    owner = "itzg";
    repo = "rcon-cli";
    tag = finalAttrs.version;
    hash = "sha256-1dexjVfbqTzq9RLhVPn0gRcdJTa/AFj8BiQLoD0/L5c=";
  };

  vendorHash = "sha256-xq1Z6cgUqXXVzc/j54Nul6xAXa5gKh3NeenQoMW+Xpg=";
  subPackages = [ "." ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Little RCON cli based on james4k's RCON library for golang";
    homepage = "https://github.com/itzg/rcon-cli";
    changelog = "https://github.com/itzg/rcon-cli/releases/tag/${finalAttrs.version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [
      link00000000
    ];
    mainProgram = "rcon-cli";
  };
})