gnu: libosinfo: Update to 1.0.0.
* gnu/packages/qemu.scm (libosinfo): Update to 1.0.0. [source]: Use new release location as fedorahosted.org is defunct. [arguments]: Replace phase "copy-ids" with configure flags; add phase "disable-broken-test" to disable the "isodetect" test. [native-inputs]: Update origin for "pci.ids" and "usb.ids".
This commit is contained in:
parent
fb25d348dd
commit
d701f8bdb2
|
@ -207,23 +207,29 @@ server and embedded PowerPC, and S390 guests.")
|
||||||
(define-public libosinfo
|
(define-public libosinfo
|
||||||
(package
|
(package
|
||||||
(name "libosinfo")
|
(name "libosinfo")
|
||||||
(version "0.3.1")
|
(version "1.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-"
|
(uri (string-append "https://releases.pagure.org/libosinfo/libosinfo-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"151qrzmafxww5yfamrr7phk8217xmihfhazpb597vdv87na75cjh"))))
|
"0srrs2m6irqd4f867g8ls6jp2dq3ql0l9d0fh80d55sivvn2bd7p"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:configure-flags
|
||||||
|
(list (string-append "--with-usb-ids-path="
|
||||||
|
(assoc-ref %build-inputs "usb.ids"))
|
||||||
|
(string-append "--with-pci-ids-path="
|
||||||
|
(assoc-ref %build-inputs "pci.ids")))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'copy-ids
|
;; This odd test fails for unknown reasons.
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(add-after 'unpack 'disable-broken-test
|
||||||
(copy-file (assoc-ref inputs "pci.ids") "data/pci.ids")
|
(lambda _
|
||||||
(copy-file (assoc-ref inputs "usb.ids") "data/usb.ids")
|
(substitute* "test/Makefile.in"
|
||||||
|
(("test-isodetect\\$\\(EXEEXT\\)") ""))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libsoup" ,libsoup)
|
`(("libsoup" ,libsoup)
|
||||||
|
@ -240,18 +246,18 @@ server and embedded PowerPC, and S390 guests.")
|
||||||
("pci.ids"
|
("pci.ids"
|
||||||
,(origin
|
,(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri "https://raw.githubusercontent.com/pciutils/pciids/f9477789526f9d380bc57aa92e357c521738d5dd/pci.ids")
|
(uri "https://github.com/pciutils/pciids/raw/ad02084f0bc143e3c15e31a6152a3dfb1d7a3156/pci.ids")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0g6dbwlamagxqxvng67xng3w2x56c0np4md1v1p1jn32qw518az0"))))
|
"0kfhpj5rnh24hz2714qhfmxk281vwc2w50sm73ggw5d15af7zfsw"))))
|
||||||
("usb.ids"
|
("usb.ids"
|
||||||
,(origin
|
,(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri "http://linux-usb.cvs.sourceforge.net/viewvc/linux-usb/htdocs/usb.ids?revision=1.539")
|
(uri "http://linux-usb.cvs.sourceforge.net/viewvc/linux-usb/htdocs/usb.ids?revision=1.551")
|
||||||
(file-name "usb.ids")
|
(file-name "usb.ids")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0w9ila7662lzpx416lqy69zx6gfwq2xiigwd5fdyqcrg3dj07m80"))))))
|
"17rg5i0wbyk289gr8v4kgvnc9q5bidz7ldcvv9x58l083wn16hq3"))))))
|
||||||
(home-page "https://libosinfo.org/")
|
(home-page "https://libosinfo.org/")
|
||||||
(synopsis "Operating system information database")
|
(synopsis "Operating system information database")
|
||||||
(description "libosinfo is a GObject based library API for managing
|
(description "libosinfo is a GObject based library API for managing
|
||||||
|
|
Loading…
Reference in New Issue