Patchwork [1/3] gnu: Add wxwidgets-gtk2.

login
register
mail settings
Submitter Theodoros Foradis
Date Oct. 24, 2016, 9:16 p.m.
Message ID <20161024211658.13087-2-theodoros.for@openmailbox.org>
Download mbox | patch
Permalink /patch/16773/
State New
Headers show

Comments

Theodoros Foradis - Oct. 24, 2016, 9:16 p.m.
* gnu/packages/wxwidgets.scm (wxwidgets-gtk2): New variable.
---
 gnu/packages/wxwidgets.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

Patch

diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 31da2a9..4efe7a1 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -1,6 +1,7 @@ 
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016 Theodoros Foradis <theodoros.for@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -109,3 +110,11 @@  and many other languages.")
                             (assoc-ref %outputs "out") "/lib"))
        ;; No 'check' target.
        #:tests? #f))))
+
+(define-public wxwidgets-gtk2
+  (package (inherit wxwidgets)
+           (inputs `(("gtk+" ,gtk+-2)
+                     ,@(alist-delete
+                        "gtk+"
+                        (package-inputs wxwidgets))))
+           (name "wxwidgets-gtk2")))