From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edw0n-0000vt-PC for guix-patches@gnu.org; Tue, 23 Jan 2018 05:41:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edw0k-0003aQ-KT for guix-patches@gnu.org; Tue, 23 Jan 2018 05:41:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edw0k-0003a9-F0 for guix-patches@gnu.org; Tue, 23 Jan 2018 05:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1edw0j-0007QE-SU for guix-patches@gnu.org; Tue, 23 Jan 2018 05:41:01 -0500 Subject: [bug#30211] [PATCH 4/4] gnu: Add streamlink. Resent-Message-ID: From: Oleg Pykhalov References: <20180122200525.561-1-go.wigust@gmail.com> <20180122200525.561-3-go.wigust@gmail.com> <20180122203549.GD31770@jasmine.lan> Date: Tue, 23 Jan 2018 13:40:03 +0300 In-Reply-To: <20180122203549.GD31770@jasmine.lan> (Leo Famulari's message of "Mon, 22 Jan 2018 15:35:49 -0500") Message-ID: <87mv14rh8c.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Leo Famulari Cc: 30211@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Famulari writes: > On Mon, Jan 22, 2018 at 11:05:25PM +0300, Oleg Pykhalov wrote: >> * gnu/packages/video.scm (streamlink): New public variable. > >> +(define-public streamlink > >> + (inputs >> + `(("python-pysocks" ,python-pysocks) >> + ("python-websocket-client" ,python-websocket-client) >> + ("python-iso3166" ,python-iso3166) >> + ("python-iso639" ,python-iso639) >> + ("python-pycryptodome" ,python-pycryptodome) >> + ("python-requests" ,python-requests) >> + ("python-pytest" ,python-pytest) >> + ("python-mock" ,python-mock))) > > In general, run-time Python dependencies need to be propagated-inputs. > However, some of these are probably only used while building and can be > native-inputs; I'd guess that pytest and mock are in that category. Oh, yes. guix lint warns about pytest and mock. Thanks for notice! Everything else probably required at run time. >> + (synopsis "Extract streams from various services") >> + (description "Streamlink is command-line utility that extracts stre= ams >> +from various services and pipes them into a video player of choice.") > > It would be helpful to mention some of the services that it can be used > with. Dunno about services. I use it as livestreamer: =2D-8<---------------cut here---------------start------------->8--- # View a video stream from a predefined services in MPV streamlink -p mpv URL QUALITY =2D-8<---------------cut here---------------end--------------->8--- By the way livestreamer is not maintained anymore. From=20: Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead. Probably livestreamer should be removed from Guix, but I'm not sure. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-streamlink.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH 4/4] gnu: Add streamlink. From=20eac6cf3575094e32d029a325397566b21fce2d18 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Fri, 19 Jan 2018 22:59:12 +0300 Subject: [PATCH] gnu: Add streamlink. * gnu/packages/video.scm (streamlink): New public variable. =2D-- gnu/packages/video.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index e7285e50b..fe8bcac99 100644 =2D-- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -89,6 +89,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages iso-codes) #:use-module (gnu packages libreoffice) #:use-module (gnu packages linux) #:use-module (gnu packages lua) @@ -102,6 +103,7 @@ #:use-module (gnu packages popt) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages qt) #:use-module (gnu packages ruby) @@ -1725,6 +1727,34 @@ from various services and pipes them into a video pl= aying application.") (home-page "http://livestreamer.io/") (license license:bsd-2))) =20 +(define-public streamlink + (package + (name "streamlink") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "streamlink" version)) + (sha256 + (base32 + "1in0jqg9xpqwjkzskyy2iyq8zcfmsqich18mfyr47g62y3pjy98a")))) + (build-system python-build-system) + (home-page "https://github.com/streamlink/streamlink") + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-mock" ,python-mock))) + (propagated-inputs + `(("python-pysocks" ,python-pysocks) + ("python-websocket-client" ,python-websocket-client) + ("python-iso3166" ,python-iso3166) + ("python-iso639" ,python-iso639) + ("python-pycryptodome" ,python-pycryptodome) + ("python-requests" ,python-requests))) + (synopsis "Extract streams from various services") + (description "Streamlink is command-line utility that extracts streams +from various services and pipes them into a video player of choice.") + (license license:bsd-2))) + (define-public mlt (package (name "mlt") =2D-=20 2.15.1 --=-=-= Content-Type: text/plain Oleg. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlpnEQMACgkQckbhHGm3 lWkVyA//Ty57eBpShkIg4iNszGx2jA5t3BCQMFYFKuiKbRhX827CqhgYjHP4B+C9 HU6bOYOHI+tVTcf55R+K05qa+kiHI9dBadPekZa05+xIzwYxMXZmlNGxFpxfzSLK p0l3JrcQzQSOTBR5UkRFYiLljSo8bEXHEQ6xd/vuRIviJ6e0j5g0BHatQSkBC+TK k7Ce10rfMGuX2Xvgseji8QWb9QXcmlQtNh31cPgGK4vXHljJfW+OIKovIAYhl/W+ kO7/cGcXmYYEt9Y7xfjy/1T8cEDU9ybGnDY8HuJAi7UFYJE/Pxm6LKxqo8DnCE4j Zu+ZfCN5gTvx9qjui1oJOx1mesLPd2DKy7x+mp/nBM0av4+nZOCdISCz2y94GM9C A9/IinHrwp5t6EnRDSfHeNGd/YNPKPLFtmvkljCn1/NmAzvEbWkx+45leXfqGwCl 3KXf2uPj89xT70iNlq6XBYyVRZgXhXtvD7PuL6SqrBypPB1LmsOMT4lkpf7DwQbK 01u3L8I4Lyb5nbCDGK43iLfzy8gGJwjzHHrBMmT8I0Hf1MVGG3T6e4e8tx26IzEC XUP14rxCk4zBH8extOjNl0/XukSu/Xa8Tr2fTmj++WtqL96/Rum8OLS+iLraux76 0jKs8Mwu8O5uC+5T0eYDKhmAsM2QxB7sgQ/wz97kLL5NQAtZvVY= =WP6d -----END PGP SIGNATURE----- --==-=-=--