From 1cad1293844c9d854ea515dfffcdceefa4e400de Mon Sep 17 00:00:00 2001 From: muradm Date: Wed, 22 Jun 2022 16:21:41 +0300 Subject: gnu: Add basu. * gnu/packages/freedesktop.scm (basu): New variable. Signed-off-by: Liliana Marie Prikler --- gnu/packages/freedesktop.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 29bb7c1664..4d06235771 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2021 John Kehayias ;;; Copyright © 2021, 2021 Maxim Cournoyer ;;; Copyright © 2022 Daniel Meißner +;;; Copyright © 2022 muradm ;;; ;;; This file is part of GNU Guix. ;;; @@ -702,6 +703,32 @@ the org.freedesktop.login1 interface over the system bus, allowing other parts of a the system to know what users are logged in, and where.") (license license:lgpl2.1+))) +(define-public basu + (package + (name "basu") + (version "0.2.0") + (home-page "https://git.sr.ht/~emersion/basu") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0h23n7wg18xc7xwldca18wi00iajyliixwicqyvv38qx831d8q18")))) + (build-system meson-build-system) + (native-inputs + (list pkg-config python gperf)) + (inputs + (list libcap)) + (synopsis "The sd-bus library, extracted from systemd") + (description "Some projects rely on the sd-bus library for DBus support. +However not all systems have systemd or elogind installed. +This library provides just sd-bus (and the busctl utility).") + (license license:lgpl2.1+))) + (define-public localed ;; XXX: This package is extracted from systemd but we retain so little of it ;; that it would make more sense to maintain a fork of the bits we need. -- cgit v1.2.3