depot/third_party/nixpkgs/pkgs/by-name/li/livekit-cli/package.nix

29 lines
631 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "livekit-cli";
version = "1.3.4";
src = fetchFromGitHub {
owner = "livekit";
repo = "livekit-cli";
rev = "v${version}";
hash = "sha256-pzVzfs0bwG9n7fa0ouQiCFrbXAqkfovEIjVmrHFdqtI=";
};
vendorHash = "sha256-pM5DeaukY6x4RDryLvSEQASSwtOaLiiLObjhdWBYd8k=";
subPackages = [ "cmd/livekit-cli" ];
meta = with lib; {
description = "Command line interface to LiveKit";
homepage = "https://livekit.io/";
license = licenses.asl20;
maintainers = with maintainers; [ mgdelacroix ];
mainProgram = "livekit-cli";
};
}