From 7cc21354d501c824e7166e268728bc43ef05e1a8 Mon Sep 17 00:00:00 2001 From: Domen Kozar Date: Sun, 5 May 2013 23:09:46 +0200 Subject: [PATCH] pa-applet: add pulseaudio applet --- pkgs/tools/audio/pa-applet/default.nix | 29 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/tools/audio/pa-applet/default.nix diff --git a/pkgs/tools/audio/pa-applet/default.nix b/pkgs/tools/audio/pa-applet/default.nix new file mode 100644 index 000000000000..2cfcf35f86cb --- /dev/null +++ b/pkgs/tools/audio/pa-applet/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchgit, pulseaudio, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, xf86inputevdev }: + +stdenv.mkDerivation rec { + name = "pa-applet"; + + src = fetchgit { + url = "https://github.com/fernandotcl/pa-applet.git"; + rev = "005f192df9ba6d2e6491f9aac650be42906b135a"; + }; + + buildInputs = [ + gtk3 pulseaudio glibc pkgconfig automake autoconf libnotify libX11 xf86inputevdev + ]; + + preConfigure = '' + ./autogen.sh + ''; + + postInstall = '' + ''; + + meta = with stdenv.lib; { + homepage = http://projects.gnome.org/NetworkManager/; + description = ""; + license = licenses.gpl2; + maintainers = with maintainers; [ iElectric ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ba175b40220b..d3a7f03e14b9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1262,6 +1262,8 @@ let networkmanagerapplet = newScope gnome ../tools/networking/network-manager-applet { }; + pa_applet = callPackage ../tools/audio/pa-applet { }; + nilfs_utils = callPackage ../tools/filesystems/nilfs-utils {}; nlopt = callPackage ../development/libraries/nlopt {};