depot/third_party/nixpkgs/pkgs/desktops/mate/mate-polkit/default.nix
Default email 84cb9d505d Project import generated by Copybara.
GitOrigin-RevId: 51bcdc4cdaac48535dabf0ad4642a66774c609ed
2021-09-23 17:35:13 +02:00

36 lines
955 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, gobject-introspection, libappindicator-gtk3, libindicator-gtk3, polkit, mateUpdateScript }:
stdenv.mkDerivation rec {
pname = "mate-polkit";
version = "1.26.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0kkjv025l1l8352m5ky1g7hmk7isgi3dnfnh7sqg9pyhml97i9dd";
};
nativeBuildInputs = [
gobject-introspection
gettext
pkg-config
];
buildInputs = [
gtk3
libappindicator-gtk3
libindicator-gtk3
polkit
];
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname version; };
meta = with lib; {
description = "Integrates polkit authentication for MATE desktop";
homepage = "https://mate-desktop.org";
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = teams.mate.members;
};
}