perl.scm
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
3 | ;;; |
4 | ;;; This file is part of GNU Guix. |
5 | ;;; |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
7 | ;;; under the terms of the GNU General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
9 | ;;; your option) any later version. |
10 | ;;; |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | ;;; GNU General Public License for more details. |
15 | ;;; |
16 | ;;; You should have received a copy of the GNU General Public License |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
18 | |
19 | (define-module (more packages perl) |
20 | #:use-module ((guix licenses) #:prefix license:) |
21 | #:use-module (gnu packages) |
22 | #:use-module (guix packages) |
23 | #:use-module (guix download) |
24 | #:use-module (guix git-download) |
25 | #:use-module (guix utils) |
26 | #:use-module (guix build-system gnu) |
27 | #:use-module (guix build-system perl) |
28 | #:use-module (gnu packages glib) |
29 | #:use-module (gnu packages gtk) |
30 | #:use-module (gnu packages perl)) |
31 | |
32 | (define-public perl-glib |
33 | (package |
34 | (name "perl-glib") |
35 | (version "1.324") |
36 | (source (origin |
37 | (method url-fetch) |
38 | (uri (string-append "https://downloads.sourceforge.net/sourceforge" |
39 | "/gtk2-perl/Glib-" version ".tar.gz")) |
40 | (file-name (string-append name "-" version ".tar.gz")) |
41 | (sha256 |
42 | (base32 |
43 | "0klvmn8czm1bq0xv0rx474ln3zabjjhyy1yqhfvw25wzbd5j26kh")))) |
44 | (build-system perl-build-system) |
45 | (native-inputs |
46 | `(("perl-extutils-depends" ,perl-extutils-depends) |
47 | ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig))) |
48 | (inputs |
49 | `(("perl" ,perl) |
50 | ("glib" ,glib))) |
51 | (home-page "http://gtk2-perl.sourceforge.net") |
52 | (synopsis "Perl wrappers for glib 2.x, including GObject") |
53 | (description |
54 | "Perl-glib is a collection of perl wrappers for glib 2.x, including GObject.") |
55 | (license license:lgpl2.1+))) |
56 | |
57 | (define-public perl-cairo |
58 | (package |
59 | (name "perl-cairo") |
60 | (version "1.106") |
61 | (source (origin |
62 | (method url-fetch) |
63 | (uri (string-append "https://downloads.sourceforge.net/sourceforge" |
64 | "/gtk2-perl/Cairo-" version ".tar.gz")) |
65 | (file-name (string-append name "-" version ".tar.gz")) |
66 | (sha256 |
67 | (base32 |
68 | "1i25kks408c54k2zxskvg54l5k3qadzm8n72ffga9jy7ic0h6j76")))) |
69 | (build-system perl-build-system) |
70 | (native-inputs |
71 | `(("perl-extutils-depends" ,perl-extutils-depends) |
72 | ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig))) |
73 | (inputs |
74 | `(("perl" ,perl) |
75 | ("cairo" ,cairo))) |
76 | (home-page "http://gtk2-perl.sourceforge.net") |
77 | (synopsis "Perl wrappers for cairo") |
78 | (description |
79 | "Perl-cairo is a collection of perl wrappers for cairo.") |
80 | (license license:lgpl2.1+))) |
81 | |
82 | (define-public perl-pango |
83 | (package |
84 | (name "perl-pango") |
85 | (version "1.227") |
86 | (source (origin |
87 | (method url-fetch) |
88 | (uri (string-append "https://downloads.sourceforge.net/sourceforge" |
89 | "/gtk2-perl/Pango-" version ".tar.gz")) |
90 | (file-name (string-append name "-" version ".tar.gz")) |
91 | (sha256 |
92 | (base32 |
93 | "0wdcidnfnb6nm79fzfs39ivawj3x8m98a147fmcxgv1zvwia9c1l")))) |
94 | (build-system perl-build-system) |
95 | (native-inputs |
96 | `(("perl-extutils-depends" ,perl-extutils-depends) |
97 | ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig))) |
98 | (propagated-inputs |
99 | `(("perl-glib" ,perl-glib) |
100 | ("perl-cairo" ,perl-cairo) |
101 | ("pango" ,pango))) |
102 | (home-page "http://gtk2-perl.sourceforge.net") |
103 | (synopsis "Perl wrappers for pango") |
104 | (description |
105 | "Perl-pango is a collection of perl wrappers for pango.") |
106 | (license license:lgpl2.1+))) |
107 | |
108 | (define-public perl-gtk2 |
109 | (package |
110 | (name "perl-gtk2") |
111 | (version "1.2498") |
112 | (source (origin |
113 | (method url-fetch) |
114 | (uri (string-append "https://downloads.sourceforge.net/sourceforge" |
115 | "/gtk2-perl/Gtk2-" version ".tar.gz")) |
116 | (file-name (string-append name "-" version ".tar.gz")) |
117 | (sha256 |
118 | (base32 |
119 | "0gs6lr4clz86838s3klrl37lf48j24zv0p37jlsvsnr927whpq3j")))) |
120 | (build-system perl-build-system) |
121 | (native-inputs |
122 | `(("perl-extutils-depends" ,perl-extutils-depends) |
123 | ("perl-extutils-pkgconfig" ,perl-extutils-pkgconfig))) |
124 | (inputs |
125 | `(("perl-pango" ,perl-pango) |
126 | ("perl-glib" ,perl-glib) |
127 | ("gtk" ,gtk+-2))) |
128 | (home-page "http://gtk2-perl.sourceforge.net") |
129 | (synopsis "Perl wrappers for GTK+ 2.x") |
130 | (description |
131 | "Perl-gtk2 is a collection of perl wrappers for GTK+ 2.x.") |
132 | (license license:lgpl2.1+))) |
133 | |
134 | ;perl-gdgraph |
135 | ;perl-mp3-info |
136 | ;perl-net-snmp |
137 | ;perl-sort-naturally |
138 |