summary refs log tree commit diff
path: root/gnu/packages/weechat.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-29 19:17:33 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-29 19:17:33 +0100
commitcb7bd0cff5e8ea1c01ba835a4ebba6c9abae7e16 (patch)
tree10a7c6a85be03c3cba14320658d43bba329152a1 /gnu/packages/weechat.scm
parent25d188ce12e4e192e4167d03728a8ff69fe0bb35 (diff)
downloadguix-cb7bd0cff5e8ea1c01ba835a4ebba6c9abae7e16.tar.gz
gnu: weechat: Dynamically link against libpython2.7.so.
* gnu/packages/patches/weechat-python.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/weechat.scm (weechat)[source]: Use it.
Diffstat (limited to 'gnu/packages/weechat.scm')
-rw-r--r--gnu/packages/weechat.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/weechat.scm b/gnu/packages/weechat.scm
index 27349ec60d..2142f5638e 100644
--- a/gnu/packages/weechat.scm
+++ b/gnu/packages/weechat.scm
@@ -20,6 +20,7 @@
 ;; TODO: Add ruby
 
 (define-module (gnu packages weechat)
+  #:use-module (gnu packages)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages base)
   #:use-module (gnu packages gettext)
@@ -52,7 +53,9 @@
               (uri (string-append "http://weechat.org/files/src/weechat-"
                                   version ".tar.gz"))
               (sha256
-               (base32 "13b7dfs3sn71c51fi0bli5rzlsppil6gg1lzik3k8l43yhhqyv2w"))))
+               (base32
+                "13b7dfs3sn71c51fi0bli5rzlsppil6gg1lzik3k8l43yhhqyv2w"))
+              (patches (list (search-patch "weechat-python.patch")))))
     (build-system gnu-build-system)
     (native-inputs `(("autoconf" ,autoconf)
                      ("pkg-config" ,pkg-config)