summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPatrick Chilton <chpatrick@gmail.com>2017-11-29 00:18:20 +0100
committerPatrick Chilton <chpatrick@gmail.com>2017-11-29 01:03:16 +0100
commit1947066f7da4ffc091b6ef0e0fb4d8d72714e43f (patch)
treec128fcc8cc3e4b3ae6138e3211788f83d9d21e8a /pkgs
parent630a9a29ca53796761d27026413eb616fc6277d8 (diff)
downloadnixpkgs-1947066f7da4ffc091b6ef0e0fb4d8d72714e43f.tar
nixpkgs-1947066f7da4ffc091b6ef0e0fb4d8d72714e43f.tar.gz
nixpkgs-1947066f7da4ffc091b6ef0e0fb4d8d72714e43f.tar.bz2
nixpkgs-1947066f7da4ffc091b6ef0e0fb4d8d72714e43f.tar.lz
nixpkgs-1947066f7da4ffc091b6ef0e0fb4d8d72714e43f.tar.xz
nixpkgs-1947066f7da4ffc091b6ef0e0fb4d8d72714e43f.tar.zst
nixpkgs-1947066f7da4ffc091b6ef0e0fb4d8d72714e43f.zip
mate-media: init at 1.18
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/desktops/mate/default.nix2
-rw-r--r--pkgs/desktops/mate/mate-media/default.nix36
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/desktops/mate/default.nix b/pkgs/desktops/mate/default.nix
index dd7d8c5dbb2..acb3b31e801 100644
--- a/pkgs/desktops/mate/default.nix
+++ b/pkgs/desktops/mate/default.nix
@@ -22,6 +22,7 @@ let
     mate-desktop = callPackage ./mate-desktop { };
     mate-icon-theme = callPackage ./mate-icon-theme { };
     mate-icon-theme-faenza = callPackage ./mate-icon-theme-faenza { };
+    mate-media = callPackage ./mate-media { };
     mate-menus = callPackage ./mate-menus { };
     mate-notification-daemon = callPackage ./mate-notification-daemon { };
     mate-panel = callPackage ./mate-panel { };
@@ -56,6 +57,7 @@ let
       engrampa
       eom
       mate-icon-theme-faenza
+      mate-media
       mate-power-manager
       mate-terminal
       pluma
diff --git a/pkgs/desktops/mate/mate-media/default.nix b/pkgs/desktops/mate/mate-media/default.nix
new file mode 100644
index 00000000000..039db57aebb
--- /dev/null
+++ b/pkgs/desktops/mate/mate-media/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchurl, pkgconfig, intltool, libtool, libxml2, libcanberra_gtk3, gnome3, mate, wrapGAppsHook }:
+
+stdenv.mkDerivation rec {
+  name = "mate-media-${version}";
+  version = "${major-ver}.${minor-ver}";
+  major-ver = "1.18";
+  minor-ver = "0";
+
+  src = fetchurl {
+    url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
+    sha256 = "0v19aipqj24367mx82ghkvgnxy1505zd35h50pi30fws36b6plll";
+  };
+
+  buildInputs = [
+    libxml2
+    libcanberra_gtk3
+    gnome3.gtk
+    mate.libmatemixer
+    mate.mate-desktop
+  ];
+
+  nativeBuildInputs = [
+    pkgconfig
+    intltool
+    libtool
+    wrapGAppsHook
+  ];
+
+  meta = with stdenv.lib; {
+    description = "Media tools for MATE";
+    homepage = http://mate-desktop.org;
+    license = licenses.gpl3;
+    platforms = platforms.unix;
+    maintainers = [ maintainers.romildo maintainers.chpatrick ];
+  };
+}