package-managers.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 package-managers) |
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 meson) |
27 | #:use-module (gnu packages backup) |
28 | #:use-module (gnu packages cmake) |
29 | #:use-module (gnu packages compression) |
30 | #:use-module (gnu packages docbook) |
31 | #:use-module (gnu packages freedesktop) |
32 | #:use-module (gnu packages gettext) |
33 | #:use-module (gnu packages glib) |
34 | #:use-module (gnu packages gnome) |
35 | #:use-module (gnu packages gtk) |
36 | #:use-module (gnu packages linux) |
37 | #:use-module (gnu packages pkg-config) |
38 | #:use-module (gnu packages polkit) |
39 | #:use-module (gnu packages sqlite) |
40 | #:use-module (gnu packages valgrind) |
41 | #:use-module (gnu packages xml)) |
42 | |
43 | (define-public libsoup-2.67.3 |
44 | (package |
45 | (inherit libsoup) |
46 | (version "2.67.1") |
47 | (source (origin |
48 | (method url-fetch) |
49 | (uri (string-append "mirror://gnome/sources/libsoup/" |
50 | (version-major+minor version) "/" |
51 | "libsoup-" version ".tar.xz")) |
52 | (sha256 |
53 | (base32 |
54 | "0ps7y2s2kb3dgx22mnfw2692h3ckr5lq74mcwax5v3db5lzwsmfi")))) |
55 | (outputs '("out")) |
56 | (arguments |
57 | `(,@(substitute-keyword-arguments (package-arguments libsoup) |
58 | ((#:phases phases) |
59 | `(modify-phases ,phases |
60 | (delete 'move-doc)))) |
61 | #:tests? #f)) |
62 | (propagated-inputs |
63 | `(("google-brotli" ,google-brotli) |
64 | ,@(package-propagated-inputs libsoup))))) |
65 | |
66 | (define-public gnome-software-center |
67 | (package |
68 | (name "gnome-software-center") |
69 | (version "3.32.3") |
70 | (source (origin |
71 | (method git-fetch) |
72 | (uri (git-reference |
73 | (url "https://gitlab.gnome.org/GNOME/gnome-software") |
74 | (commit version))) |
75 | (file-name (git-file-name name version)) |
76 | (sha256 |
77 | (base32 |
78 | "168s7y59q5j4sgvm1x07qyz6b88cynyhxbigsil6w5fc9j4hm30f")))) |
79 | (build-system meson-build-system) |
80 | (arguments |
81 | `(#:configure-flags '("-Dfwupd=false" "-Dflatpak=false") |
82 | #:tests? #f |
83 | #:glib-or-gtk? #t)) |
84 | (native-inputs |
85 | `(("cmake" ,cmake) |
86 | ("desktop-file-utils" ,desktop-file-utils) |
87 | ("docbook-xml" ,docbook-xml) |
88 | ("docbook-xsl" ,docbook-xsl) |
89 | ("gettext" ,gettext-minimal) |
90 | ("glib" ,glib "bin") |
91 | ("gtk-doc" ,gtk-doc) |
92 | ("gtk-bin" ,gtk+ "bin") |
93 | ("libxslt" ,libxslt) ; for xsltproc |
94 | ("pkg-config" ,pkg-config) |
95 | ("valgrind" ,valgrind))) |
96 | (inputs |
97 | `(("appstream-glib" ,appstream-glib) |
98 | ("gnome-desktop" ,gnome-desktop) |
99 | ("gnome-online-accounts" ,gnome-online-accounts "lib") |
100 | ("gspell" ,gspell) |
101 | ("json-glib" ,json-glib) |
102 | ("libarchive" ,libarchive) |
103 | ("libgudev" ,libgudev) |
104 | ("libsoup" ,libsoup-2.67.3) |
105 | ("libxmlb" ,libxmlb) |
106 | ("packagekit" ,packagekit) |
107 | ("polkit" ,polkit))) |
108 | (home-page "https://gitlab.gnome.org/GNOME/gnome-software") |
109 | (synopsis "") |
110 | (description "") |
111 | (license #f))) |
112 |