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

55 lines
912 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, pantheon
, pkgconfig
, meson
, ninja
, vala
, gtk3
, libgee
, granite
, polkit
, wrapGAppsHook
}:
2018-08-20 21:31:18 +01:00
stdenv.mkDerivation rec {
pname = "pantheon-agent-polkit";
version = "1.0.0";
2018-08-20 21:31:18 +01:00
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "1yybblprcn0cgcf9j76yckqcimm4h8l41cczxjvgp789p1pki3bn";
2018-08-20 21:31:18 +01:00
};
passthru = {
updateScript = pantheon.updateScript {
attrPath = "pantheon.${pname}";
2018-08-20 21:31:18 +01:00
};
};
nativeBuildInputs = [
meson
ninja
pkgconfig
vala
wrapGAppsHook
];
buildInputs = [
granite
2018-08-20 21:31:18 +01:00
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;
};
}