dde-polkit-agent: init at 0.2.1
This commit is contained in:
parent
218aceb5fb
commit
fe41bef142
2 changed files with 47 additions and 0 deletions
46
pkgs/desktops/deepin/dde-polkit-agent/default.nix
Normal file
46
pkgs/desktops/deepin/dde-polkit-agent/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, polkit-qt,
|
||||||
|
dtkcore, dtkwidget, dde-qt-dbus-factory }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "dde-polkit-agent";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "linuxdeepin";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1n3hys5hhhd99ycpx4im6ihy53vl9c28z7ls7smn117h3ca4c8wc";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
qmake
|
||||||
|
qttools
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
dde-qt-dbus-factory
|
||||||
|
dtkcore
|
||||||
|
dtkwidget
|
||||||
|
polkit-qt
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
|
||||||
|
sed -i dde-polkit-agent.pro polkit-dde-authentication-agent-1.desktop \
|
||||||
|
-e "s,/usr,$out,"
|
||||||
|
|
||||||
|
sed -i pluginmanager.cpp \
|
||||||
|
-e "s,/usr/lib/polkit-1-dde/plugins,/run/current-system/sw/lib/polkit-1-dde/plugins,"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "PolicyKit agent for Deepin Desktop Environment";
|
||||||
|
homepage = https://github.com/linuxdeepin/dde-polkit-agent;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ romildo ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,6 +6,7 @@ let
|
||||||
dbus-factory = callPackage ./dbus-factory { };
|
dbus-factory = callPackage ./dbus-factory { };
|
||||||
dde-api = callPackage ./dde-api { };
|
dde-api = callPackage ./dde-api { };
|
||||||
dde-calendar = callPackage ./dde-calendar { };
|
dde-calendar = callPackage ./dde-calendar { };
|
||||||
|
dde-polkit-agent = callPackage ./dde-polkit-agent { };
|
||||||
dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { };
|
dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { };
|
||||||
deepin-desktop-schemas = callPackage ./deepin-desktop-schemas { };
|
deepin-desktop-schemas = callPackage ./deepin-desktop-schemas { };
|
||||||
deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
|
deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
|
||||||
|
|
Loading…
Reference in a new issue