nixpkgs/pkgs/by-name/li/livekit-cli/package.nix
2023-12-13 23:29:38 +01:00

28 lines
631 B
Nix

{ 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";
};
}