Commit | Line | Data |
---|---|---|
3889a82e NK |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org> | |
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 (distro packages glib) | |
20 | #:use-module ((guix licenses) #:select (lgpl2.0+)) | |
21 | #:use-module (guix packages) | |
22 | #:use-module (guix download) | |
23 | #:use-module (guix build-system gnu) | |
24 | #:use-module (distro packages base) | |
25 | #:use-module (distro packages compression) | |
26 | #:use-module ((distro packages gettext) | |
27 | #:renamer (symbol-prefix-proc 'guix:)) | |
28 | #:use-module (distro packages libffi) | |
29 | #:use-module (distro packages pkg-config) | |
30 | #:use-module (distro packages python)) | |
31 | ||
32 | (define-public glib | |
33 | (package | |
34 | (name "glib") | |
35 | (version "2.34") | |
36 | (source (origin | |
37 | (method url-fetch) | |
38 | (uri (string-append "http://ftp.gnome.org/pub/gnome/sources/" | |
39 | name "/" version "/" | |
40 | name "-" version ".3" ".tar.xz")) | |
41 | (sha256 | |
42 | (base32 "19sq4rhl2vr8ikjvl8qh51vr38yqfhbkb3imi2s6ac5rgkwcnpw5")))) | |
43 | (build-system gnu-build-system) | |
44 | (inputs | |
45 | `(("coreutils" ,coreutils) | |
46 | ("gettext" ,guix:gettext) | |
47 | ("libffi" ,libffi) | |
48 | ("pkg-config" ,pkg-config) | |
49 | ("python" ,python) | |
50 | ("zlib" ,zlib))) | |
51 | (arguments `(#:tests? #f)) ; XXX: tests fail | |
52 | (synopsis | |
53 | "GLib, a library that provides the core application building blocks") | |
54 | (description | |
55 | "GLib provides data structure handling for C, portability wrappers, | |
56 | and interfaces for such runtime functionality as an event loop, threads, | |
57 | dynamic loading, and an object system.") | |
58 | (home-page "http://developer.gnome.org/glib/") | |
59 | (license lgpl2.0+))) ; some files are under lgpl2.1+ |