dde-polkit-agent: 5.5.22 -> 6.0.5

This commit is contained in:
rewine 2023-09-26 15:51:58 +08:00
parent 5730c12eda
commit f4d6cca76c
No known key found for this signature in database
GPG key ID: 2964FF5514455F51

View file

@ -12,22 +12,18 @@
, polkit-qt
, qtbase
}:
stdenv.mkDerivation rec {
pname = "dde-polkit-agent";
version = "5.5.22";
version = "6.0.5";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-4wAqMymLPxKXbfAx2PtkEGfwenphPxBZn+qCdcyqNc0=";
hash = "sha256-NSMwNL4ttCaqo0h0sF11bOJ20FhOB+SG27K4k8F4O/o=";
};
postPatch = ''
substituteInPlace AuthDialog.cpp \
--replace "/usr/share/dde-session-shell/dde-session-shell.conf" "/etc/dde-session-shell/dde-session-shell.conf"
'';
nativeBuildInputs = [
cmake
pkg-config