depot/third_party/nixpkgs/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

53 lines
879 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, pkg-config
, meson
, ninja
, vala
, gtk3
, libgee
, granite
, polkit
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "pantheon-agent-polkit";
version = "1.0.5";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-sC+Ec8a/17EfHsSRKQflBlzv9XAFjUVhjX691gIVa2A=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
vala
wrapGAppsHook
];
buildInputs = [
granite
gtk3
libgee
polkit
];
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
description = "Polkit Agent for the Pantheon Desktop";
homepage = "https://github.com/elementary/pantheon-agent-polkit";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.pantheon.members;
};
}