summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2017-12-31 08:19:19 -0200
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2018-01-09 02:40:04 +0200
commit7110c14729ac6897a4df1c9fb2d4bc72d00e5e9b (patch)
tree4ae51d6c73f891923b860efc194b50f11d81fa22 /pkgs
parent5953691edd11821b170c28186d1cd5058f4af135 (diff)
downloadnixpkgs-7110c14729ac6897a4df1c9fb2d4bc72d00e5e9b.tar
nixpkgs-7110c14729ac6897a4df1c9fb2d4bc72d00e5e9b.tar.gz
nixpkgs-7110c14729ac6897a4df1c9fb2d4bc72d00e5e9b.tar.bz2
nixpkgs-7110c14729ac6897a4df1c9fb2d4bc72d00e5e9b.tar.lz
nixpkgs-7110c14729ac6897a4df1c9fb2d4bc72d00e5e9b.tar.xz
nixpkgs-7110c14729ac6897a4df1c9fb2d4bc72d00e5e9b.tar.zst
nixpkgs-7110c14729ac6897a4df1c9fb2d4bc72d00e5e9b.zip
mate-polkit: init at 1.18.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/desktops/mate/default.nix2
-rw-r--r--pkgs/desktops/mate/mate-polkit/default.nix33
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/desktops/mate/default.nix b/pkgs/desktops/mate/default.nix
index 478a5429eea..0bdf33c1562 100644
--- a/pkgs/desktops/mate/default.nix
+++ b/pkgs/desktops/mate/default.nix
@@ -26,6 +26,7 @@ let
     mate-menus = callPackage ./mate-menus { };
     mate-notification-daemon = callPackage ./mate-notification-daemon { };
     mate-panel = callPackage ./mate-panel { };
+    mate-polkit = callPackage ./mate-polkit { };
     mate-power-manager = callPackage ./mate-power-manager { };
     mate-session-manager = callPackage ./mate-session-manager { };
     mate-settings-daemon = callPackage ./mate-settings-daemon { };
@@ -47,6 +48,7 @@ let
       mate-menus
       mate-notification-daemon
       mate-panel
+      mate-polkit
       mate-session-manager
       mate-settings-daemon
       mate-themes
diff --git a/pkgs/desktops/mate/mate-polkit/default.nix b/pkgs/desktops/mate/mate-polkit/default.nix
new file mode 100644
index 00000000000..b0405043815
--- /dev/null
+++ b/pkgs/desktops/mate/mate-polkit/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libappindicator-gtk3, libindicator-gtk3, polkit }:
+
+stdenv.mkDerivation rec {
+  name = "mate-polkit-${version}";
+  version = "${major-ver}.${minor-ver}";
+  major-ver = "1.18";
+  minor-ver = "2";
+
+  src = fetchurl {
+    url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
+    sha256 = "01mxl7wj1501d3clrwlwa54970vpkahp5968xpaxwfb2zbnqgjbd";
+  };
+
+  nativeBuildInputs = [
+    pkgconfig
+    intltool
+  ];
+
+  buildInputs = [
+    gtk3
+    libappindicator-gtk3
+    libindicator-gtk3
+    polkit
+  ];
+
+  meta = with stdenv.lib; {
+    description = "Integrates polkit authentication for MATE desktop";
+    homepage = http://mate-desktop.org;
+    license = [ licenses.gpl2Plus ];
+    platforms = platforms.unix;
+    maintainers = [ maintainers.romildo ];
+  };
+}