summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
author陈功 <andy@andycbruce.com>2026-03-12 08:49:53 -0700
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-03-19 07:37:03 +0100
commit9bfbf735b916253c4601ca74b8d3dca6d90584f2 (patch)
tree84914154bdba9ed38c29b6f26020191d20522f52 /gnu/packages
parentcc4c1633ffa4c2245c9dc594403a3a2dffc2ad98 (diff)
gnu: Add rtkit.
* gnu/packages/freedesktop.scm (rtkit): New variable. Change-Id: I2d0015de7e5806311f19e17952f2fe852fb90bb6 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/freedesktop.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index a1348980851..4b176ddb330 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -147,6 +147,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages video)
+ #:use-module (gnu packages vim)
#:use-module (gnu packages virtualization)
#:use-module (gnu packages vulkan)
#:use-module (gnu packages w3m)
@@ -3604,3 +3605,37 @@ implements the decoration drawing.")
(description
"@code{iio-sensor-proxy} is a daemon which passes IIO sensor data to D-Bus.")
(license license:gpl3+)))
+
+(define-public rtkit
+ (package
+ (name "rtkit")
+ (version "0.14")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.freedesktop.org/pipewire/rtkit.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07swd78aglawfddc1zjx5v8scm85q1qpmahjskh8hn6lfr47dpnb"))))
+ (build-system meson-build-system)
+ (inputs (list dbus libcap polkit xxd))
+ (native-inputs (list pkg-config))
+ (arguments
+ (list
+ #:configure-flags
+ #~(list (string-append "-Ddbus_interfacedir="
+ #$output "/share/dbus-1/interfaces")
+ (string-append "-Ddbus_systemservicedir="
+ #$output "/share/dbus-1/system-services")
+ (string-append "-Dpolkit_actiondir="
+ #$output "/share/polkit-1/actions"))))
+ (home-page "https://gitlab.freedesktop.org/pipewire/rtkit")
+ (synopsis "Realtime Policy and Watchdog Daemon")
+ (description
+ "RealtimeKit is a D-Bus system service that changes the scheduling policy
+of user processes and threads to SCHED_RR (i.e. realtime scheduling mode) on
+request. It is intended to be used as a secure mechanism to allow real-time
+scheduling to be used by normal user processes.")
+ (license license:gpl3)))