nixpkgs/pkgs/servers/livepeer/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

33 lines
773 B
Nix

{ lib, fetchFromGitHub, buildGoModule
, pkg-config, ffmpeg, gnutls
}:
buildGoModule rec {
pname = "livepeer";
version = "0.5.20";
proxyVendor = true;
vendorHash = "sha256-aRZoAEnRai8i5H08ReW8lEFlbmarYxU0lBRhR/Llw+M=";
src = fetchFromGitHub {
owner = "livepeer";
repo = "go-livepeer";
rev = "v${version}";
sha256 = "sha256-cOxIL093Mi+g9Al/SQJ6vdaeBAXUN6ZGsSaVvEIiJpU=";
};
# livepeer_cli has a vendoring problem
subPackages = [ "cmd/livepeer" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ffmpeg gnutls ];
meta = with lib; {
description = "Official Go implementation of the Livepeer protocol";
homepage = "https://livepeer.org";
license = licenses.mit;
maintainers = with maintainers; [ elitak ];
};
}