mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
62 lines
1,007 B
Nix
62 lines
1,007 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, kwindowsystem
|
|
, liblxqt
|
|
, libqtxdg
|
|
, lxqt-build-tools
|
|
, pcre
|
|
, pkg-config
|
|
, polkit
|
|
, polkit-qt-1
|
|
, qtbase
|
|
, qtsvg
|
|
, qttools
|
|
, qtwayland
|
|
, wrapQtAppsHook
|
|
, gitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lxqt-policykit";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-oYKvQBilpD2RLhN1K6qgRNNAfohCOqmBrKcWy1fXZT8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
lxqt-build-tools
|
|
qttools
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
kwindowsystem
|
|
liblxqt
|
|
libqtxdg
|
|
pcre
|
|
polkit
|
|
polkit-qt-1
|
|
qtbase
|
|
qtsvg
|
|
qtwayland
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lxqt/lxqt-policykit";
|
|
description = "LXQt PolicyKit agent";
|
|
mainProgram = "lxqt-policykit-agent";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = teams.lxqt.members;
|
|
};
|
|
}
|