44 lines
990 B
Nix
44 lines
990 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, gnome3,
|
|
dde-polkit-agent, deepin }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "dpa-ext-gnomekeyring";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxdeepin";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "168j42nwyw7vcgwc0fha2pjpwwlgir70fq1hns4ia1dkdqa1nhzw";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
qmake
|
|
qttools
|
|
];
|
|
|
|
buildInputs = [
|
|
dde-polkit-agent
|
|
gnome3.libgnome-keyring
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs .
|
|
|
|
sed -i dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp \
|
|
-e "s,/usr,$out,"
|
|
'';
|
|
|
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "GNOME keyring extension for dde-polkit-agent";
|
|
homepage = https://github.com/linuxdeepin/dpa-ext-gnomekeyring;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ romildo ];
|
|
};
|
|
}
|