about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/livepeer/default.nix
blob: 38eb336ba219082e54a54041300f8986502cf585 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ 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 ];
  };
}