livepeer: 0.2.4 -> 0.5.10
This commit is contained in:
parent
2afb2ae110
commit
9b3bc6b46e
@ -1,30 +1,32 @@
|
|||||||
{ stdenv, fetchFromGitHub, buildGoPackage
|
{ stdenv, fetchFromGitHub, buildGoModule
|
||||||
, pkgconfig, ffmpeg_3
|
, pkg-config, ffmpeg, gnutls
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "livepeer";
|
pname = "livepeer";
|
||||||
version = "0.2.4";
|
version = "0.5.10";
|
||||||
|
|
||||||
goPackagePath = "github.com/livepeer/go-livepeer";
|
runVend = true;
|
||||||
goDeps = ./deps.nix;
|
vendorSha256 = "0i5977skw4b209zvdvgvzfnhqb574067mmfk2gf9y590lgnr86f7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "livepeer";
|
owner = "livepeer";
|
||||||
repo = "go-livepeer";
|
repo = "go-livepeer";
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "07vhw787wq5q4xm7zvswjdsmr20pwfa39wfkgamb7hkrffn3k2ia";
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "Official Go implementation of the Livepeer protocol";
|
description = "Official Go implementation of the Livepeer protocol";
|
||||||
homepage = "https://livepeer.org";
|
homepage = "https://livepeer.org";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = with maintainers; [ elitak ];
|
maintainers = with maintainers; [ elitak ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
20
pkgs/servers/livepeer/deps.nix
generated
20
pkgs/servers/livepeer/deps.nix
generated
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in New Issue
Block a user