gnu: osinfo-db: Use G-expressions.
* gnu/packages/virtualization.scm (osinfo-db)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
ec2016e8b8
commit
fa005d8a5b
1 changed files with 10 additions and 10 deletions
|
@ -2475,18 +2475,18 @@ administrators and developers in managing the database.")
|
||||||
(base32 "0nl4wh8i9skcg1wx84p31x7rl1xv1267g5ycbn9kfwfnqxzwkl8k"))))
|
(base32 "0nl4wh8i9skcg1wx84p31x7rl1xv1267g5ycbn9kfwfnqxzwkl8k"))))
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils))
|
(list
|
||||||
|
#:modules '((guix build utils))
|
||||||
#:builder
|
#:builder
|
||||||
(begin
|
#~(begin
|
||||||
(use-modules (guix build utils))
|
(use-modules (guix build utils))
|
||||||
(let* ((out (assoc-ref %outputs "out"))
|
(let ((osinfo (string-append #$output "/share/osinfo"))
|
||||||
(osinfo-dir (string-append out "/share/osinfo"))
|
|
||||||
(source (assoc-ref %build-inputs "source"))
|
(source (assoc-ref %build-inputs "source"))
|
||||||
(osinfo-db-import
|
(import-osinfo-db
|
||||||
(string-append (assoc-ref %build-inputs "osinfo-db-tools")
|
(string-append #$(this-package-native-input "osinfo-db-tools")
|
||||||
"/bin/osinfo-db-import")))
|
"/bin/osinfo-db-import")))
|
||||||
(mkdir-p osinfo-dir)
|
(mkdir-p osinfo)
|
||||||
(invoke osinfo-db-import "--dir" osinfo-dir source)))))
|
(invoke import-osinfo-db "--dir" osinfo source)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list intltool osinfo-db-tools))
|
(list intltool osinfo-db-tools))
|
||||||
(home-page "https://gitlab.com/libosinfo/osinfo-db")
|
(home-page "https://gitlab.com/libosinfo/osinfo-db")
|
||||||
|
|
Reference in a new issue