mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
33 lines
783 B
Nix
33 lines
783 B
Nix
{ stdenv, fetchFromGitHub, buildGoModule
|
|
, pkg-config, ffmpeg, gnutls
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "livepeer";
|
|
version = "0.5.12";
|
|
|
|
runVend = true;
|
|
vendorSha256 = "13cgwpf3v4vlvb0mgdxsdybpghx1cp3fzkdwmq8b193a8dcl8s63";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "livepeer";
|
|
repo = "go-livepeer";
|
|
rev = "v${version}";
|
|
sha256 = "15gx6pd6zn40x60p07dyaf1ydxvrg372lk3djp302mph8y0ijqfg";
|
|
};
|
|
|
|
# livepeer_cli has a vendoring problem
|
|
subPackages = [ "cmd/livepeer" ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ ffmpeg gnutls ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Official Go implementation of the Livepeer protocol";
|
|
homepage = "https://livepeer.org";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ elitak ];
|
|
};
|
|
}
|