2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2019-08-05 20:02:06 +02:00
|
|
|
, fetchFromGitHub
|
2020-07-29 18:33:39 +02:00
|
|
|
, nix-update-script
|
2019-08-05 20:02:06 +02:00
|
|
|
, pantheon
|
2021-01-17 03:21:50 +01:00
|
|
|
, pkg-config
|
2019-08-05 20:02:06 +02:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, gtk3
|
|
|
|
, libgee
|
2019-11-19 20:28:32 +01:00
|
|
|
, granite
|
2019-08-05 20:02:06 +02:00
|
|
|
, polkit
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pantheon-agent-polkit";
|
2021-07-18 11:30:51 +02:00
|
|
|
version = "1.0.4";
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-07-18 11:30:51 +02:00
|
|
|
sha256 = "1acqjjarl225yk0f68wkldsamcrzrj0ibpcxma04wq9w7jlmz60c";
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
2020-07-29 18:33:39 +02:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 07:44:42 +01:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 03:21:50 +01:00
|
|
|
pkg-config
|
2018-08-20 22:31:18 +02:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-11-19 20:28:32 +01:00
|
|
|
granite
|
2018-08-20 22:31:18 +02:00
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
polkit
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-08-20 22:31:18 +02:00
|
|
|
description = "Polkit Agent for the Pantheon Desktop";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/elementary/pantheon-agent-polkit";
|
2018-08-20 22:31:18 +02:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-09-18 17:00:51 +02:00
|
|
|
maintainers = teams.pantheon.members;
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
}
|