depot/third_party/nixpkgs/pkgs/desktops/mate/mate-polkit/default.nix
Default email 1ae14203fc Project import generated by Copybara.
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
2021-01-17 01:15:33 +01:00

34 lines
868 B
Nix

{ lib, stdenv, fetchurl, pkgconfig, gettext, gtk3, gobject-introspection, libappindicator-gtk3, libindicator-gtk3, polkit }:
stdenv.mkDerivation rec {
pname = "mate-polkit";
version = "1.24.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1450bqzlnvwy3xa98lj102j2cf7piqbxcd1cy2zp41rdl8ri3gvn";
};
nativeBuildInputs = [
gobject-introspection
gettext
pkgconfig
];
buildInputs = [
gtk3
libappindicator-gtk3
libindicator-gtk3
polkit
];
enableParallelBuilding = true;
meta = with lib; {
description = "Integrates polkit authentication for MATE desktop";
homepage = "https://mate-desktop.org";
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}