summary refs log blame commit diff
path: root/pkgs/servers/livepeer/default.nix
blob: 64edcb2ef4fa95fc09fc2d8e992f0c1c27715f03 (plain) (tree)
1
2
3
4
5
6




                                         
                     













                                                                    



                                                                        
                                    




                                               
{ stdenv, fetchFromGitHub, buildGoPackage
, pkgconfig, ffmpeg
}:

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";
  };

  buildInputs = [ pkgconfig ffmpeg ];

  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 ];
  };
}