lol

dde-polkit-agent: init at 5.5.22

authored by

rewine and committed by
rewine
8abe7fd0 349eefb8

+64
+61
pkgs/desktops/deepin/core/dde-polkit-agent/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , dtkwidget 5 + , qt5integration 6 + , qt5platform-plugins 7 + , dde-qt-dbus-factory 8 + , pkg-config 9 + , cmake 10 + , qttools 11 + , wrapQtAppsHook 12 + , polkit-qt 13 + , qtbase 14 + }: 15 + stdenv.mkDerivation rec { 16 + pname = "dde-polkit-agent"; 17 + version = "5.5.22"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "linuxdeepin"; 21 + repo = pname; 22 + rev = version; 23 + sha256 = "sha256-4wAqMymLPxKXbfAx2PtkEGfwenphPxBZn+qCdcyqNc0="; 24 + }; 25 + 26 + postPatch = '' 27 + substituteInPlace AuthDialog.cpp \ 28 + --replace "/usr/share/dde-session-shell/dde-session-shell.conf" "/etc/dde-session-shell/dde-session-shell.conf" 29 + ''; 30 + 31 + nativeBuildInputs = [ 32 + cmake 33 + pkg-config 34 + qttools 35 + wrapQtAppsHook 36 + ]; 37 + 38 + buildInputs = [ 39 + dtkwidget 40 + qt5platform-plugins 41 + dde-qt-dbus-factory 42 + polkit-qt 43 + ]; 44 + 45 + # qt5integration must be placed before qtsvg in QT_PLUGIN_PATH 46 + qtWrapperArgs = [ 47 + "--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}" 48 + ]; 49 + 50 + postFixup = '' 51 + wrapQtApp $out/lib/polkit-1-dde/dde-polkit-agent 52 + ''; 53 + 54 + meta = with lib; { 55 + description = "PolicyKit agent for Deepin Desktop Environment"; 56 + homepage = "https://github.com/linuxdeepin/dde-polkit-agent"; 57 + license = licenses.gpl3Plus; 58 + platforms = platforms.linux; 59 + maintainers = teams.deepin.members; 60 + }; 61 + }
+3
pkgs/desktops/deepin/default.nix
··· 29 29 image-editor = callPackage ./library/image-editor { }; 30 30 udisks2-qt5 = callPackage ./library/udisks2-qt5 { }; 31 31 32 + #### CORE 33 + dde-polkit-agent = callPackage ./core/dde-polkit-agent { }; 34 + 32 35 #### Dtk Application 33 36 deepin-album = callPackage ./apps/deepin-album { }; 34 37 deepin-calculator = callPackage ./apps/deepin-calculator { };