guix-more/more/packages/package-managers.scm

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