[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/181: gnu: Add rest-next.
From: |
guix-commits |
Subject: |
53/181: gnu: Add rest-next. |
Date: |
Tue, 13 Sep 2022 02:25:27 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 6a82d5a9ae661249f6c17ed61c3731e19ee5ba85
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Sep 4 22:19:31 2022 -0400
gnu: Add rest-next.
* gnu/packages/gnome.scm (rest-next): New variable.
---
gnu/packages/gnome.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 654032ba25..6fd87cc978 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4902,6 +4902,46 @@ claim to be \"RESTful\". It includes convenience
wrappers for libsoup and
libxml to ease remote use of the RESTful API.")
(license license:lgpl2.1+)))
+(define-public rest-next
+ (package
+ (inherit rest)
+ (name "rest")
+ (version "0.9.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/rest/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1qy2291d2vprdbbxmf0sa98izk09nl3znzzv7lckwf6f1v0sarlj"))))
+ (build-system meson-build-system)
+ (arguments (substitute-keyword-arguments (package-arguments rest)
+ ((#:tests? _ #f) #t)
+ ((#:configure-flags _)
+ #~(list))
+ ((#:phases phases '%standard-phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'disable-problematic-tests
+ ;; These tests require networking.
+ (lambda _
+ (substitute* "tests/meson.build"
+ ((".*'flickr',.*") "")
+ ((".*'lastfm',.*") ""))))
+ (add-before 'check 'prepare-for-tests
+ (lambda _
+ (setenv "HOME" "/tmp")))))))
+ (native-inputs
+ (modify-inputs (package-native-inputs rest)
+ (append gettext-minimal
+ gi-docgen
+ gsettings-desktop-schemas)))
+ (inputs (list gtksourceview json-glib libadwaita))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs rest)
+ (replace "libsoup" libsoup)
+ (append json-glib)))))
+
;;; A minimal version of libsoup used to prevent a cycle with Inkscape.
(define-public libsoup-minimal
(package
- 42/181: gnu: lxsession: Use polkit-duktape., (continued)
- 42/181: gnu: lxsession: Use polkit-duktape., guix-commits, 2022/09/13
- 15/181: gnu: libwacom: Update to 2.4.0., guix-commits, 2022/09/13
- 22/181: gnu: zenity: Update to 3.43.0., guix-commits, 2022/09/13
- 27/181: gnu: upower: Update to 1.90.0., guix-commits, 2022/09/13
- 29/181: gnu: sdl2: Update to 2.24.0, use gexps and remove input labels., guix-commits, 2022/09/13
- 34/181: gnu: gnome-online-accounts: Update to 3.44.0 and delete input labels., guix-commits, 2022/09/13
- 41/181: gnu: gdm: Patch dbus-run-session path., guix-commits, 2022/09/13
- 45/181: gnu: gjs: Remove input labels., guix-commits, 2022/09/13
- 47/181: gnu: mozjs: Update home-page., guix-commits, 2022/09/13
- 50/181: gnu: gtk: Replace librsvg with librsvg-bootstrap., guix-commits, 2022/09/13
- 53/181: gnu: Add rest-next.,
guix-commits <=
- 51/181: gnu: Add gobject-introspection-next., guix-commits, 2022/09/13
- 56/181: gnu: gnome-shell: Update to 42.4., guix-commits, 2022/09/13
- 57/181: gnu: colord-gtk: Update to 0.3.0., guix-commits, 2022/09/13
- 59/181: gnu: gnome-control-center: Update to 42.3., guix-commits, 2022/09/13
- 62/181: gnu: gnome-calendar: Update to 42.2., guix-commits, 2022/09/13
- 63/181: gnu: gnome-initial-setup: Update to 42.2., guix-commits, 2022/09/13
- 71/181: gnu: gnome-contacts: Update to 42.0., guix-commits, 2022/09/13
- 81/181: gnu: tepl: Update to 6.1.2 and enable tests., guix-commits, 2022/09/13
- 82/181: gnu: gedit: Update to 42.2., guix-commits, 2022/09/13
- 78/181: gnu: gnome-terminal: Update to 3.44.1., guix-commits, 2022/09/13