dpa-ext-gnomekeyring: init at 5.0.11

This commit is contained in:
rewine
2023-02-14 17:22:20 +08:00
committed by rewine
parent 8abe7fd075
commit 76ac693197
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,51 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, qttools
, wrapQtAppsHook
, dtkwidget
, dde-polkit-agent
, libsecret
, libgnome-keyring
}:
stdenv.mkDerivation rec {
pname = "dpa-ext-gnomekeyring";
version = "5.0.11";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-mXaGwbtEwaqfOT0izK64zX4s3VFmsRpUGOVm6oSEhn8=";
};
postPatch = ''
substituteInPlace gnomekeyringextention.cpp \
--replace "/usr/share/dpa-ext-gnomekeyring" "$out/share/dpa-ext-gnomekeyring"
'';
nativeBuildInputs = [
cmake
pkg-config
qttools
wrapQtAppsHook
];
buildInputs = [
dtkwidget
dde-polkit-agent
libgnome-keyring
libsecret
];
meta = with lib; {
description = "GNOME keyring extension for dde-polkit-agent";
homepage = "https://github.com/linuxdeepin/dpa-ext-gnomekeyring";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}
+1
View File
@@ -31,6 +31,7 @@ let
#### CORE
dde-polkit-agent = callPackage ./core/dde-polkit-agent { };
dpa-ext-gnomekeyring = callPackage ./core/dpa-ext-gnomekeyring { };
#### Dtk Application
deepin-album = callPackage ./apps/deepin-album { };