diff options
Diffstat (limited to 'gnu/packages/virtualization.scm')
-rw-r--r-- | gnu/packages/virtualization.scm | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 9b1bdeb5e4..3f6c32f390 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -2465,28 +2465,28 @@ administrators and developers in managing the database.") (define-public osinfo-db (package (name "osinfo-db") - (version "20230518") - (source (origin - (method url-fetch) - (uri (string-append "https://releases.pagure.org/libosinfo/osinfo-db-" - version ".tar.xz")) - (sha256 - (base32 - "0vfch55xgz1p16sv84ahb59apg8j7n8p4kxv0rq7rw7jwk65pv6a")))) + (version "20230719") + (source + (origin + (method url-fetch) + (uri (string-append "https://releases.pagure.org/libosinfo/osinfo-db-" + version ".tar.xz")) + (sha256 + (base32 "0nl4wh8i9skcg1wx84p31x7rl1xv1267g5ycbn9kfwfnqxzwkl8k")))) (build-system trivial-build-system) (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let* ((out (assoc-ref %outputs "out")) - (osinfo-dir (string-append out "/share/osinfo")) + (list + #:modules '((guix build utils)) + #:builder + #~(begin + (use-modules (guix build utils)) + (let ((osinfo (string-append #$output "/share/osinfo")) (source (assoc-ref %build-inputs "source")) - (osinfo-db-import - (string-append (assoc-ref %build-inputs "osinfo-db-tools") + (import-osinfo-db + (string-append #$(this-package-native-input "osinfo-db-tools") "/bin/osinfo-db-import"))) - (mkdir-p osinfo-dir) - (invoke osinfo-db-import "--dir" osinfo-dir source))))) + (mkdir-p osinfo) + (invoke import-osinfo-db "--dir" osinfo source))))) (native-inputs (list intltool osinfo-db-tools)) (home-page "https://gitlab.com/libosinfo/osinfo-db") |