[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/16: gnu: Add perl-gtk3.
From: |
guix-commits |
Subject: |
06/16: gnu: Add perl-gtk3. |
Date: |
Sun, 4 Jul 2021 21:55:50 -0400 (EDT) |
raghavgururajan pushed a commit to branch master
in repository guix.
commit 6869b2fb6cd1b4701efb9db9b0011ffc77b70334
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Tue Jun 22 04:50:14 2021 -0400
gnu: Add perl-gtk3.
* gnu/packages/gtk.scm (perl-gtk3): New variable.
---
gnu/packages/gtk.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index bc30905..d92b9aa 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1657,6 +1657,48 @@ object-oriented way, freeing you from the casting and
memory management in C,
yet remaining very close in spirit to original API.")
(license license:lgpl2.1+)))
+(define-public perl-gtk3
+ (package
+ (name "perl-gtk3")
+ (version "0.038")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/X/XA/XAOC/Gtk3-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1k3sfcvxxx7ir7ail7w1lkmr4np0k3criljzw5wir63lmbr4pp3h"))))
+ (build-system perl-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1"))))))
+ (native-inputs
+ `(("adwaita-icon-theme" ,adwaita-icon-theme)
+ ("gtk+:bin" ,gtk+ "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("perl-extutils-depends" ,perl-extutils-depends)
+ ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig)
+ ("perl-test-simple" ,perl-test-simple)
+ ("xorg-server" ,xorg-server-for-tests)))
+ (propagated-inputs
+ `(("gtk+" ,gtk+)
+ ("perl-cairo-gobject" ,perl-cairo-gobject)
+ ("perl-carp" ,perl-carp)
+ ("perl-exporter" ,perl-exporter)
+ ("perl-glib-object-introspection" ,perl-glib-object-introspection)))
+ (home-page "https://metacpan.org/dist/Gtk3")
+ (synopsis "Perl interface to the 3.x series of the gtk+ toolkit")
+ (description "Perl bindings to the 3.x series of the gtk+ toolkit.
+This module allows you to write graphical user interfaces in a Perlish and
+object-oriented way, freeing you from the casting and memory management in C,
+yet remaining very close in spirit to original API.")
+ (license license:lgpl2.1+)))
+
(define-public perl-pango
(package
(name "perl-pango")
- branch master updated (8d27e6a -> e1fb55a), guix-commits, 2021/07/04
- 01/16: gnu: Add perl-exporter., guix-commits, 2021/07/04
- 02/16: gnu: perl-glib: Propagate glib., guix-commits, 2021/07/04
- 05/16: gnu: Add perl-glib-object-introspection., guix-commits, 2021/07/04
- 07/16: gnu: Add perl-text-tabs+wrap., guix-commits, 2021/07/04
- 08/16: gnu: Add perl-text-parsewords., guix-commits, 2021/07/04
- 04/16: gnu: Add perl-cairo-gobject., guix-commits, 2021/07/04
- 06/16: gnu: Add perl-gtk3.,
guix-commits <=
- 09/16: gnu: Add perl-term-ansicolor., guix-commits, 2021/07/04
- 03/16: gnu: perl-cairo: Propagate cairo., guix-commits, 2021/07/04
- 10/16: gnu: Add perl-test-portability-files., guix-commits, 2021/07/04
- 15/16: gnu: Add pipe-viewer., guix-commits, 2021/07/04
- 13/16: gnu: Add perl-encode., guix-commits, 2021/07/04
- 12/16: gnu: Add perl-storable., guix-commits, 2021/07/04
- 11/16: gnu: Add perl-xsloader., guix-commits, 2021/07/04
- 14/16: gnu: Add perl-mime-base64., guix-commits, 2021/07/04
- 16/16: gnu: straw-viewer: Deprecate package., guix-commits, 2021/07/04