Add gnome-software-center (wip).
more/packages/package-managers.scm unknown status 1
| 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 libxmlb | |
| 45 | + | (package | |
| 46 | + | (name "libxmlb") | |
| 47 | + | (version "0.1.11") | |
| 48 | + | (source (origin | |
| 49 | + | (method git-fetch) | |
| 50 | + | (uri (git-reference | |
| 51 | + | (url "https://github.com/hughsie/libxmlb") | |
| 52 | + | (commit version))) | |
| 53 | + | (sha256 | |
| 54 | + | (base32 | |
| 55 | + | "1503v76w7543snqyjxykiqa5va62zb0ccn3jlw0gpdx8973v80mr")))) | |
| 56 | + | (build-system meson-build-system) | |
| 57 | + | (arguments | |
| 58 | + | `(#:tests? #f)) | |
| 59 | + | (native-inputs | |
| 60 | + | `(("cmake" ,cmake) | |
| 61 | + | ("gobject-introspection" ,gobject-introspection); for g-ir-scanner | |
| 62 | + | ("gtk-doc" ,gtk-doc) | |
| 63 | + | ("pkg-config" ,pkg-config))) | |
| 64 | + | (inputs | |
| 65 | + | `(("glib" ,glib) | |
| 66 | + | ("util-linux" ,util-linux) | |
| 67 | + | ) | |
| 68 | + | ) | |
| 69 | + | (home-page "https://github.com/hughsie/libxmlb") | |
| 70 | + | (synopsis "") | |
| 71 | + | (description "") | |
| 72 | + | (license license:lgpl2.1+))) | |
| 73 | + | ||
| 74 | + | (define-public libsoup-2.67.3 | |
| 75 | + | (package | |
| 76 | + | (inherit libsoup) | |
| 77 | + | (version "2.67.1") | |
| 78 | + | (source (origin | |
| 79 | + | (method url-fetch) | |
| 80 | + | (uri (string-append "mirror://gnome/sources/libsoup/" | |
| 81 | + | (version-major+minor version) "/" | |
| 82 | + | "libsoup-" version ".tar.xz")) | |
| 83 | + | (sha256 | |
| 84 | + | (base32 | |
| 85 | + | "0ps7y2s2kb3dgx22mnfw2692h3ckr5lq74mcwax5v3db5lzwsmfi")))) | |
| 86 | + | (outputs '("out")) | |
| 87 | + | (arguments | |
| 88 | + | `(,@(substitute-keyword-arguments (package-arguments libsoup) | |
| 89 | + | ((#:phases phases) | |
| 90 | + | `(modify-phases ,phases | |
| 91 | + | (delete 'move-doc)))) | |
| 92 | + | #:tests? #f)) | |
| 93 | + | (propagated-inputs | |
| 94 | + | `(("google-brotli" ,google-brotli) | |
| 95 | + | ,@(package-propagated-inputs libsoup))))) | |
| 96 | + | ||
| 97 | + | (define-public gnome-software-center | |
| 98 | + | (package | |
| 99 | + | (name "gnome-software-center") | |
| 100 | + | (version "3.32.3") | |
| 101 | + | (source (origin | |
| 102 | + | (method git-fetch) | |
| 103 | + | (uri (git-reference | |
| 104 | + | (url "https://gitlab.gnome.org/GNOME/gnome-software") | |
| 105 | + | (commit version))) | |
| 106 | + | (file-name (git-file-name name version)) | |
| 107 | + | (sha256 | |
| 108 | + | (base32 | |
| 109 | + | "168s7y59q5j4sgvm1x07qyz6b88cynyhxbigsil6w5fc9j4hm30f")))) | |
| 110 | + | (build-system meson-build-system) | |
| 111 | + | (arguments | |
| 112 | + | `(#:configure-flags '("-Dfwupd=false" "-Dflatpak=false") | |
| 113 | + | #:tests? #f | |
| 114 | + | #:glib-or-gtk? #t)) | |
| 115 | + | (native-inputs | |
| 116 | + | `(("cmake" ,cmake) | |
| 117 | + | ("desktop-file-utils" ,desktop-file-utils) | |
| 118 | + | ("docbook-xml" ,docbook-xml) | |
| 119 | + | ("docbook-xsl" ,docbook-xsl) | |
| 120 | + | ("gettext" ,gettext-minimal) | |
| 121 | + | ("glib" ,glib "bin") | |
| 122 | + | ("gtk-doc" ,gtk-doc) | |
| 123 | + | ("gtk-bin" ,gtk+ "bin") | |
| 124 | + | ("libxslt" ,libxslt) ; for xsltproc | |
| 125 | + | ("pkg-config" ,pkg-config) | |
| 126 | + | ("valgrind" ,valgrind))) | |
| 127 | + | (inputs | |
| 128 | + | `(("appstream-glib" ,appstream-glib) | |
| 129 | + | ("gnome-desktop" ,gnome-desktop) | |
| 130 | + | ("gnome-online-accounts" ,gnome-online-accounts "lib") | |
| 131 | + | ("gspell" ,gspell) | |
| 132 | + | ("json-glib" ,json-glib) | |
| 133 | + | ("libarchive" ,libarchive) | |
| 134 | + | ("libgudev" ,libgudev) | |
| 135 | + | ("libsoup" ,libsoup-2.67.3) | |
| 136 | + | ("libxmlb" ,libxmlb) | |
| 137 | + | ("packagekit" ,packagekit) | |
| 138 | + | ("polkit" ,polkit))) | |
| 139 | + | (home-page "https://gitlab.gnome.org/GNOME/gnome-software") | |
| 140 | + | (synopsis "") | |
| 141 | + | (description "") | |
| 142 | + | (license #f))) |