Patchwork gnu: Fix asciinema build.

login
register
mail settings
Submitter jmi2k@openmailbox.org
Date Dec. 7, 2016, 6:08 p.m.
Message ID <8faa60bb994a88f417a460c66c4c02b8@openmailbox.org>
Download mbox | patch
Permalink /patch/18268/
State New
Headers show

Comments

jmi2k@openmailbox.org - Dec. 7, 2016, 6:08 p.m.
Tiny fix: add python-requests to the inputs field.
Ludovic Courtès - Dec. 8, 2016, 9:25 a.m.
Hello!

José Miguel Sánchez García <jmi2k@openmailbox.org> skribis:

> Tiny fix: add python-requests to the inputs field.
>
> -- 
> José Miguel Sánchez García
>
> From cdad51eefcfe5c193fc7efb37cb271195feab310 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Jos=C3=A9=20Miguel=20S=C3=A1nchez=20Garc=C3=ADa?=
>  <jmi2k@openmailbox.org>
> Date: Wed, 7 Dec 2016 19:04:23 +0100
> Subject: [PATCH] gnu: Fix asciinema build.
>
> * gnu/packages/terminals.scm (asciinema)[inputs]: Add python-requests.

It currently builds fine:

  https://hydra.gnu.org/job/gnu/master/asciinema-1.3.0.x86_64-linux

A quick test suggests that it works fine too.

Could you explain why python-requests would be needed?

Thanks!

Ludo’.

Patch

From cdad51eefcfe5c193fc7efb37cb271195feab310 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Miguel=20S=C3=A1nchez=20Garc=C3=ADa?=
 <jmi2k@openmailbox.org>
Date: Wed, 7 Dec 2016 19:04:23 +0100
Subject: [PATCH] gnu: Fix asciinema build.

* gnu/packages/terminals.scm (asciinema)[inputs]: Add python-requests.
---
 gnu/packages/terminals.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index e1076c7..67ad7eb 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -161,7 +161,8 @@  insert mode and command mode where keybindings have different functions.")
                  (("'tput'")
                   (string-append "'" ncurses "/bin/tput'"))))
              #t)))))
-    (inputs `(("ncurses" ,ncurses)))
+    (inputs `(("ncurses" ,ncurses)
+              ("python-requests" ,python-requests)))
     (home-page "https://asciinema.org")
     (synopsis "Terminal session recorder")
     (description
-- 
2.9.2