depot/third_party/nixpkgs/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

54 lines
914 B
Nix

{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, gtk3
, libgee
, granite
, polkit
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "pantheon-agent-polkit";
version = "1.0.1";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "137809mplrsff1isxwbwa2v2y9ixhwzm4khiijm4mmjchi75wpvx";
};
passthru = {
updateScript = pantheon.updateScript {
attrPath = "pantheon.${pname}";
};
};
nativeBuildInputs = [
meson
ninja
pkgconfig
vala
wrapGAppsHook
];
buildInputs = [
granite
gtk3
libgee
polkit
];
meta = with stdenv.lib; {
description = "Polkit Agent for the Pantheon Desktop";
homepage = "https://github.com/elementary/pantheon-agent-polkit";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};
}