mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 18:18:03 +00:00
hyprpolkitagent: init at 0.1.1 (#351462)
This commit is contained in:
commit
dfadd0b94a
50
pkgs/by-name/hy/hyprpolkitagent/package.nix
Normal file
50
pkgs/by-name/hy/hyprpolkitagent/package.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
cmake,
|
||||
pkg-config,
|
||||
fetchFromGitHub,
|
||||
hyprutils,
|
||||
kdePackages,
|
||||
polkit,
|
||||
qt6,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprpolkitagent";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "hyprpolkitagent";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-fhG6YqByDW0DAixXXX6AwTJOH3MqDlQ2XrVvpusZ3Ek=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
hyprutils
|
||||
kdePackages.kirigami-addons
|
||||
kdePackages.polkit-qt-1
|
||||
polkit
|
||||
qt6.qtbase
|
||||
qt6.qtsvg
|
||||
qt6.qtwayland
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Polkit authentication agent written in QT/QML";
|
||||
homepage = "https://github.com/hyprwm/hyprpolkitagent";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
fufexan
|
||||
johnrtitor
|
||||
];
|
||||
mainProgram = "hyprpolkitagent";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
@ -5204,6 +5204,10 @@ with pkgs;
|
||||
|
||||
hyprpicker = callPackage ../applications/window-managers/hyprwm/hyprpicker { };
|
||||
|
||||
hyprpolkitagent = callPackage ../by-name/hy/hyprpolkitagent/package.nix {
|
||||
stdenv = gcc14Stdenv;
|
||||
};
|
||||
|
||||
hyprshade = python311Packages.callPackage ../applications/window-managers/hyprwm/hyprshade { };
|
||||
|
||||
hyprlandPlugins = recurseIntoAttrs (callPackage ../applications/window-managers/hyprwm/hyprland-plugins { });
|
||||
|
Loading…
Reference in New Issue
Block a user