2019-08-05 11:02:06 -07:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pantheon
|
|
|
|
, meson
|
|
|
|
, python3
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, vala
|
|
|
|
, libgee
|
|
|
|
, granite
|
|
|
|
, gtk3
|
2019-08-26 00:44:25 -07:00
|
|
|
, glib
|
2019-08-05 11:02:06 -07:00
|
|
|
, polkit
|
|
|
|
, zeitgeist
|
|
|
|
, switchboard
|
|
|
|
, lightlocker
|
|
|
|
}:
|
2018-08-20 13:31:18 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "switchboard-plug-security-privacy";
|
2019-10-31 14:51:46 -07:00
|
|
|
version = "2.2.2";
|
2018-08-20 13:31:18 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-10-31 14:51:46 -07:00
|
|
|
sha256 = "1dwq9rqswgnnglhrgcpvrp6shn3pb4x8f8f23x84sqakb430idp7";
|
2018-08-20 13:31:18 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = pantheon.updateScript {
|
2019-12-21 22:44:42 -08:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 13:31:18 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-08-26 00:44:25 -07:00
|
|
|
glib
|
2018-08-20 13:31:18 -07:00
|
|
|
granite
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
polkit
|
|
|
|
switchboard
|
2019-11-25 19:25:15 -08:00
|
|
|
lightlocker
|
2018-08-20 13:31:18 -07:00
|
|
|
zeitgeist
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Switchboard Security & Privacy Plug";
|
|
|
|
homepage = https://github.com/elementary/switchboard-plug-security-privacy;
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = pantheon.maintainers;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|