me
/
guix
Archived
1
0
Fork 0

gnu: upower: Update to 0.99.8.

* gnu/packages/gnome.scm (upower): Update to 0.99.8.
[source](uri): Change to new download location*.
[arguments]: Remove #:phases.

* https://lists.freedesktop.org/archives/devkit-devel/2018-June/001829.html
master
Marius Bakke 2018-07-30 21:17:09 +02:00
parent bf5e7c8232
commit 9ec5496525
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 15 deletions

View File

@ -2928,14 +2928,15 @@ faster results and to avoid unnecessary server load.")
(define-public upower (define-public upower
(package (package
(name "upower") (name "upower")
(version "0.99.4") (version "0.99.8")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://upower.freedesktop.org/releases/" (uri (string-append "https://gitlab.freedesktop.org/upower/upower/"
name "-" version ".tar.xz")) "uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/"
"upower-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1c1ph1j1fnrf3vipxb7ncmdfc36dpvcvpsv8n8lmal7grjk2b8ww")) "00lzr0vyxz5lvmgya48gdb2cdgmfdim4b34jlfdyqakk1i9sl8xv"))
(patches (search-patches "upower-builddir.patch")))) (patches (search-patches "upower-builddir.patch"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(arguments (arguments
@ -2946,17 +2947,7 @@ faster results and to avoid unnecessary server load.")
#:configure-flags (list "--localstatedir=/var" #:configure-flags (list "--localstatedir=/var"
(string-append "--with-udevrulesdir=" (string-append "--with-udevrulesdir="
(assoc-ref %outputs "out") (assoc-ref %outputs "out")
"/lib/udev/rules.d")) "/lib/udev/rules.d"))))
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-/bin/true
(lambda _
(substitute* "configure"
(("/bin/true") (which "true")))))
(add-before 'configure 'patch-integration-test
(lambda _
(substitute* "src/linux/integration-test"
(("/usr/bin/python3") (which "python3"))))))))
(native-inputs (native-inputs
`(("gobject-introspection" ,gobject-introspection) `(("gobject-introspection" ,gobject-introspection)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)