01d4e2fe33
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that used `ffmpeg` without requiring a specific version now use ffmpeg_3 explicitly so they shouldn't change.
33 lines
739 B
Nix
33 lines
739 B
Nix
{ stdenv, fetchFromGitHub, buildGoPackage
|
|
, pkgconfig, ffmpeg_3
|
|
}:
|
|
|
|
buildGoPackage rec {
|
|
pname = "livepeer";
|
|
version = "0.2.4";
|
|
|
|
goPackagePath = "github.com/livepeer/go-livepeer";
|
|
goDeps = ./deps.nix;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "livepeer";
|
|
repo = "go-livepeer";
|
|
rev = version;
|
|
sha256 = "07vhw787wq5q4xm7zvswjdsmr20pwfa39wfkgamb7hkrffn3k2ia";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ ffmpeg_3 ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Official Go implementation of the Livepeer protocol";
|
|
homepage = "https://livepeer.org";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ elitak ];
|
|
};
|
|
}
|