guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30211] [PATCH 4/4] gnu: Add streamlink.


From: Oleg Pykhalov
Subject: [bug#30211] [PATCH 4/4] gnu: Add streamlink.
Date: Tue, 23 Jan 2018 13:40:03 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Leo Famulari <address@hidden> 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 streams
>> +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:
--8<---------------cut here---------------start------------->8---
    # View a video stream from a predefined services in MPV
    streamlink -p mpv URL QUALITY
--8<---------------cut here---------------end--------------->8---


By the way livestreamer is not maintained anymore.

From <https://github.com/chrippa/livestreamer>:

    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.


Attachment: 0001-gnu-Add-streamlink.patch
Description: [PATCH 4/4] gnu: Add streamlink.


Oleg.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]