nixpkgs-suyu/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix

56 lines
932 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
2021-01-17 03:21:50 +01:00
, pkg-config
, meson
, ninja
, vala
, gtk3
, libgee
, granite
, polkit
, wrapGAppsHook
}:
2018-08-20 22:31:18 +02:00
stdenv.mkDerivation rec {
pname = "pantheon-agent-polkit";
version = "1.0.4";
2018-08-20 22:31:18 +02:00
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "1acqjjarl225yk0f68wkldsamcrzrj0ibpcxma04wq9w7jlmz60c";
2018-08-20 22:31:18 +02:00
};
passthru = {
updateScript = nix-update-script {
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 = [
granite
2018-08-20 22:31:18 +02:00
gtk3
libgee
polkit
];
meta = with lib; {
2018-08-20 22:31:18 +02:00
description = "Polkit Agent for the Pantheon Desktop";
homepage = "https://github.com/elementary/pantheon-agent-polkit";
2018-08-20 22:31:18 +02:00
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
2018-08-20 22:31:18 +02:00
};
}