2018-07-02 08:40:37 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildGoPackage
|
2020-06-07 13:39:09 +01:00
|
|
|
, pkgconfig, ffmpeg_3
|
2018-07-02 08:40:37 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "livepeer";
|
2018-07-02 08:40:37 +01:00
|
|
|
version = "0.2.4";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/livepeer/go-livepeer";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "livepeer";
|
|
|
|
repo = "go-livepeer";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "07vhw787wq5q4xm7zvswjdsmr20pwfa39wfkgamb7hkrffn3k2ia";
|
|
|
|
};
|
|
|
|
|
2020-03-18 10:48:37 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
2020-06-07 13:39:09 +01:00
|
|
|
buildInputs = [ ffmpeg_3 ];
|
2018-07-02 08:40:37 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Official Go implementation of the Livepeer protocol";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://livepeer.org";
|
2018-07-02 08:40:37 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ elitak ];
|
|
|
|
};
|
|
|
|
}
|