.
This commit is contained in:
parent
0cbcc995bf
commit
fddcb46b20
1 changed files with 42 additions and 2 deletions
|
@ -32,6 +32,47 @@
|
||||||
#:use-module (gnu packages wm)
|
#:use-module (gnu packages wm)
|
||||||
#:use-module (gnu packages xorg))
|
#:use-module (gnu packages xorg))
|
||||||
|
|
||||||
|
(define-public hwdata
|
||||||
|
(package
|
||||||
|
(name "hwdata")
|
||||||
|
(version "0.376") ;updated monthly
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/vcrhonek/hwdata")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"00gqx24dyy9l98ygnvx8i087xq8pl9d2393h4d2cm4d5nnvr51d4"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(outputs '("out" "iab" "oui" "pci" "pnp" "usb"))
|
||||||
|
(arguments
|
||||||
|
;; Tests require pciutils, python, podman. Disable to avoid recursive dep.
|
||||||
|
(list
|
||||||
|
#:tests? #f
|
||||||
|
;; Do not cross-compile, since the package only contains data.
|
||||||
|
#:target #f
|
||||||
|
#:configure-flags #~(list (string-append "--datadir=" #$output "/share"))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'install
|
||||||
|
(lambda _
|
||||||
|
(install-file "iab.txt" (string-append #$output:iab "/share/hwdata"))
|
||||||
|
(install-file "oui.txt" (string-append #$output:oui "/share/hwdata"))
|
||||||
|
(install-file "pci.ids" (string-append #$output:pci "/share/hwdata"))
|
||||||
|
(install-file "pnp.ids" (string-append #$output:pnp "/share/hwdata"))
|
||||||
|
(install-file "usb.ids" (string-append #$output:usb "/share/hwdata")))))))
|
||||||
|
(home-page "https://github.com/vcrhonek/hwdata")
|
||||||
|
(synopsis "Hardware identification and configuration data")
|
||||||
|
(description "@code{hwdata} contains various hardware identification and
|
||||||
|
configuration data, such as the @file{pci.ids} and @file{usb.ids} databases.
|
||||||
|
Each database is contained in a specific package output, such as the
|
||||||
|
@code{pci} output for @file{pci.ids}, the @code{usb} output for
|
||||||
|
@file{usb.ids}, etc.")
|
||||||
|
(license (list license:gpl2+
|
||||||
|
license:expat)))) ;XFree86 1.0
|
||||||
|
|
||||||
(define-public pixman
|
(define-public pixman
|
||||||
(package
|
(package
|
||||||
(name "pixman")
|
(name "pixman")
|
||||||
|
@ -112,8 +153,7 @@ rasterisation.")
|
||||||
xcb-util-wm
|
xcb-util-wm
|
||||||
xorg-server-xwayland))
|
xorg-server-xwayland))
|
||||||
(inputs
|
(inputs
|
||||||
(list hwdata
|
(list libdrm))
|
||||||
libdrm))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(cons*
|
(cons*
|
||||||
`(,hwdata "pnp")
|
`(,hwdata "pnp")
|
||||||
|
|
Loading…
Reference in a new issue