2018-11-15 02:00:15 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, gnome3,
|
|
|
|
dde-polkit-agent, deepin }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dpa-ext-gnomekeyring";
|
2019-11-12 02:23:01 +00:00
|
|
|
version = "5.0.1";
|
2018-11-15 02:00:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "168j42nwyw7vcgwc0fha2pjpwwlgir70fq1hns4ia1dkdqa1nhzw";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
qmake
|
|
|
|
qttools
|
2019-04-03 00:10:13 +01:00
|
|
|
deepin.setupHook
|
2018-11-15 02:00:15 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dde-polkit-agent
|
|
|
|
gnome3.libgnome-keyring
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
2019-04-03 00:10:13 +01:00
|
|
|
searchHardCodedPaths
|
|
|
|
patchShebangs translate_generation.sh
|
|
|
|
fixPath $out /usr dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp
|
2018-11-15 02:00:15 +00:00
|
|
|
'';
|
|
|
|
|
2019-12-04 09:20:00 +00:00
|
|
|
passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; };
|
2018-11-15 02:00:15 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "GNOME keyring extension for dde-polkit-agent";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/linuxdeepin/dpa-ext-gnomekeyring";
|
2018-11-15 02:00:15 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ romildo ];
|
|
|
|
};
|
|
|
|
}
|