livepeer: 0.2.4 -> 0.5.10

This commit is contained in:
zowoq 2020-09-01 12:46:09 +10:00
parent 2afb2ae110
commit 9b3bc6b46e
2 changed files with 13 additions and 31 deletions

View file

@ -1,30 +1,32 @@
{ stdenv, fetchFromGitHub, buildGoPackage
, pkgconfig, ffmpeg_3
{ stdenv, fetchFromGitHub, buildGoModule
, pkg-config, ffmpeg, gnutls
}:
buildGoPackage rec {
buildGoModule rec {
pname = "livepeer";
version = "0.2.4";
version = "0.5.10";
goPackagePath = "github.com/livepeer/go-livepeer";
goDeps = ./deps.nix;
runVend = true;
vendorSha256 = "0i5977skw4b209zvdvgvzfnhqb574067mmfk2gf9y590lgnr86f7";
src = fetchFromGitHub {
owner = "livepeer";
repo = "go-livepeer";
rev = version;
sha256 = "07vhw787wq5q4xm7zvswjdsmr20pwfa39wfkgamb7hkrffn3k2ia";
rev = "v${version}";
sha256 = "0qccvnk2yyly7ha9lkcpd6zj5n9xnhdjkl3nllb9xziidsq6p65h";
};
nativeBuildInputs = [ pkgconfig ];
# livepeer_cli has a vendoring problem
subPackages = [ "cmd/livepeer" ];
buildInputs = [ ffmpeg_3 ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ffmpeg gnutls ];
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 ];
};
}

View file

@ -1,20 +0,0 @@
[
{
goPackagePath = "github.com/golang/glog";
fetch = {
type = "git";
url = "https://github.com/golang/glog";
rev = "23def4e6c14b4da8ac2ed8007337bc5eb5007998";
sha256 = "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30";
};
}
{
goPackagePath = "github.com/ericxtang/m3u8";
fetch = {
type = "git";
url = "https://github.com/ericxtang/m3u8";
rev = "575aeb9f754a5dabcc03d4aa0ed05ecaee26499e";
sha256 = "08811y4kg6rgj40v80cwjcwhy094qrfigdwjsgr8d6bn64cf9fz2";
};
}
]