mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add bolt.
* gnu/packages/linux.scm (bolt): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
dcfd97b42e
commit
4eae37157f
1 changed files with 51 additions and 0 deletions
|
@ -143,6 +143,7 @@
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages pciutils)
|
#:use-module (gnu packages pciutils)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
#:use-module (gnu packages polkit)
|
||||||
#:use-module (gnu packages popt)
|
#:use-module (gnu packages popt)
|
||||||
#:use-module (gnu packages pulseaudio)
|
#:use-module (gnu packages pulseaudio)
|
||||||
#:use-module (gnu packages python)
|
#:use-module (gnu packages python)
|
||||||
|
@ -2868,6 +2869,56 @@ IPv6 packet filter.
|
||||||
Both commands are targeted at system administrators.")
|
Both commands are targeted at system administrators.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
|
(define-public bolt
|
||||||
|
(package
|
||||||
|
(name "bolt")
|
||||||
|
(version "0.9.2")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://gitlab.freedesktop.org/bolt/bolt")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1h48qmqxhjq9gxv5gf78cqm5wadmnhvc9bkd02zya77rh3pf6y3r"))))
|
||||||
|
(build-system meson-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:configure-flags '(list "--localstatedir=/var")
|
||||||
|
#:glib-or-gtk? #t ;To wrap binaries and/or compile schemas
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'replace-directories
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* "meson.build"
|
||||||
|
(("udev.get_pkgconfig_variable..udevdir..")
|
||||||
|
(string-append "'"
|
||||||
|
#$output "/lib/udev'")))
|
||||||
|
(substitute* "scripts/meson-install.sh"
|
||||||
|
(("mkdir.*")
|
||||||
|
""))))
|
||||||
|
(add-before 'install 'no-polkit-magic
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(setenv "PKEXEC_UID" "something"))))))
|
||||||
|
(native-inputs (list pkg-config
|
||||||
|
`(,glib "bin") python asciidoc umockdev))
|
||||||
|
(inputs (list eudev dbus polkit))
|
||||||
|
(synopsis "Thunderbolt 3 device manager")
|
||||||
|
(description
|
||||||
|
"This package provides @command{boltd}, a userspace daemon
|
||||||
|
for Thunderbolt devices, and @command{boltctl}, a command-line utility for
|
||||||
|
managing those devices.
|
||||||
|
|
||||||
|
The daemon @command{boltd} exposes devices via D-Bus to clients. It also
|
||||||
|
stores a database of previously authorized devices and will, depending on the
|
||||||
|
policy set for the individual devices, automatically authorize newly connected
|
||||||
|
devices without user interaction.
|
||||||
|
|
||||||
|
The command-line utility @command{boltctl} manages Thunderbolt devices via
|
||||||
|
@command{boltd}. It can list devices, monitor changes, and initiate
|
||||||
|
authorization of devices.")
|
||||||
|
(home-page "https://gitlab.freedesktop.org/bolt/bolt")
|
||||||
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public jitterentropy-rngd
|
(define-public jitterentropy-rngd
|
||||||
(package
|
(package
|
||||||
(name "jitterentropy-rngd")
|
(name "jitterentropy-rngd")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue