From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0Abi-0004fs-JZ for guix-patches@gnu.org; Sun, 25 Mar 2018 14:43:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0Abe-0006i5-JI for guix-patches@gnu.org; Sun, 25 Mar 2018 14:43:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0Abe-0006hu-Ft for guix-patches@gnu.org; Sun, 25 Mar 2018 14:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0Abe-0006z4-6t for guix-patches@gnu.org; Sun, 25 Mar 2018 14:43:02 -0400 Subject: [bug#30940] [PATCH] gnu: Add twitchy. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0AaT-0004ZC-Kg for guix-patches@gnu.org; Sun, 25 Mar 2018 14:41:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0AaP-00063j-Kt for guix-patches@gnu.org; Sun, 25 Mar 2018 14:41:49 -0400 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:36560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0AaP-00063R-CQ for guix-patches@gnu.org; Sun, 25 Mar 2018 14:41:45 -0400 Received: by mail-lf0-x22f.google.com with SMTP id z143-v6so24998841lff.3 for ; Sun, 25 Mar 2018 11:41:45 -0700 (PDT) From: Oleg Pykhalov Date: Sun, 25 Mar 2018 21:41:25 +0300 Message-Id: <20180325184125.17406-1-go.wigust@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 30940@debbugs.gnu.org * gnu/packages/video.scm (twitchy): New public variable. --- gnu/packages/video.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index f7f82df07..1d073f328 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1782,6 +1782,38 @@ from sites like Twitch.tv and pipes them into a video player of choice.") (define-public livestreamer (deprecated-package "livestreamer" streamlink)) +(define-public twitchy + (let ((commit "0c0f925b9c7ff2aed4a3b0046561cb794143c398")) + (package + (name "twitchy") + (version (git-version "3.2" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BasioMeusPuga/twitchy.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "02aizvsr744sh8bdqvwwsmp2qpczlzn8fy76h5dyd3517n9nlcz9")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "HOME" (getcwd)) ;Needs to write to ‘$HOME’. + #t))))) + (inputs + `(("python-requests" ,python-requests) + ("streamlink" ,streamlink))) + (home-page "https://github.com/BasioMeusPuga/twitchy") + (synopsis "Command-line interface for Twitch.tv") + (description + "This package provides a command-line interface for Twitch.tv") + (license license:gpl3+)))) + (define-public mlt (package (name "mlt") -- 2.16.2