2021-01-16 18:21:50 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, gobject-introspection, libappindicator-gtk3, libindicator-gtk3, polkit }:
|
2017-12-31 02:19:19 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "mate-polkit";
|
2020-02-12 09:51:22 -08:00
|
|
|
version = "1.24.0";
|
2017-12-31 02:19:19 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 05:21:58 -08:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-12 09:51:22 -08:00
|
|
|
sha256 = "1450bqzlnvwy3xa98lj102j2cf7piqbxcd1cy2zp41rdl8ri3gvn";
|
2017-12-31 02:19:19 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2019-01-15 17:01:00 -08:00
|
|
|
gobject-introspection
|
2020-02-14 06:09:49 -08:00
|
|
|
gettext
|
2021-01-16 18:21:50 -08:00
|
|
|
pkg-config
|
2017-12-31 02:19:19 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
libappindicator-gtk3
|
|
|
|
libindicator-gtk3
|
|
|
|
polkit
|
|
|
|
];
|
|
|
|
|
2020-02-14 13:52:51 -08:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2017-12-31 02:19:19 -08:00
|
|
|
description = "Integrates polkit authentication for MATE desktop";
|
2020-02-12 09:51:22 -08:00
|
|
|
homepage = "https://mate-desktop.org";
|
2017-12-31 02:19:19 -08:00
|
|
|
license = [ licenses.gpl2Plus ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|