depot/third_party/nixpkgs/pkgs/servers/livepeer/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
735 B
Nix

{ 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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ 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 ];
};
}