Skip to content

Commit

Permalink
livepeer: add passthru.updateScript
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Nov 8, 2024
1 parent 43be1cb commit 5285900
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkgs/by-name/li/livepeer/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
pkg-config,
ffmpeg,
gnutls,
nix-update-script,
}:

buildGoModule rec {
Expand All @@ -17,25 +18,24 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "livepeer";
repo = "go-livepeer";
rev = "v${version}";
sha256 = "sha256-cOxIL093Mi+g9Al/SQJ6vdaeBAXUN6ZGsSaVvEIiJpU=";
rev = "refs/tags/v${version}";
hash = "sha256-cOxIL093Mi+g9Al/SQJ6vdaeBAXUN6ZGsSaVvEIiJpU=";
};

# livepeer_cli has a vendoring problem
subPackages = [ "cmd/livepeer" ];

nativeBuildInputs = [ pkg-config ];

buildInputs = [
ffmpeg
gnutls
];

meta = with lib; {
passthru.updateScript = nix-update-script { };

meta = {
description = "Official Go implementation of the Livepeer protocol";
homepage = "https://livepeer.org";
license = licenses.mit;
maintainers = with maintainers; [ elitak ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ elitak ];
mainProgram = "livepeer";
};
}

0 comments on commit 5285900

Please sign in to comment.