1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add hyprpolkitagent.

* gnu/packages/polkit.scm (hyprpolkitagent): New variable.

Change-Id: I858dc238a7f817d231fab0a75310d4f41c791bdc
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Josep Bigorra
2025-06-25 19:53:35 +02:00
committed by Sharlatan Hellseher
parent 145c08dcd1
commit a88d6a45e4

View File

@@ -11,6 +11,7 @@
;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2025 Josep Bigorra <jjbigorra@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +30,7 @@
(define-module (gnu packages polkit)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix memoization)
#:use-module ((guix licenses) #:prefix license:)
@@ -39,9 +41,11 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (gnu packages)
#:use-module (gnu packages cpp)
#:use-module (gnu packages gettext)
#:use-module (gnu packages docker)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
#:use-module (gnu packages docbook)
@@ -53,8 +57,46 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml))
(define-public hyprpolkitagent
(package
(name "hyprpolkitagent")
(version "0.1.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hyprwm/hyprpolkitagent")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0zqiskgn57zcrljpyk0py24izf77yngnj7586mb51rb1b4yd4n9b"))))
(build-system cmake-build-system)
(arguments
(list
#:tests? #f)) ;; No tests yet.
(native-inputs
(list gcc-14
pkg-config))
(inputs
(list hyprutils
hyprland-qtutils
polkit
polkit-qt6
qtwayland
qtbase
qtdeclarative
libxkbcommon))
(home-page "https://wiki.hypr.land/Hypr-Ecosystem/hyprpolkitagent/")
(synopsis "Simple polkit authentication agent for Hyprland")
(description
"hyprpolkitagent is a polkit authentication daemon written in QT/QML.
It is required for @acronym{GUI, Graphical User Interface} applications to be
able to request elevated privileges.")
(license license:bsd-3)))
(define-public polkit
(package
(name "polkit")