summary refs log tree commit diff
path: root/pkgs/tools/audio/pnmixer/default.nix
diff options
context:
space:
mode:
authorPhilip Horger <campadrenalin@gmail.com>2014-08-24 03:47:29 +0200
committerDomen Kožar <domen@dev.si>2014-08-25 10:03:26 +0200
commit21a4539698909165b10d54d09dcff09d1a286037 (patch)
tree22124889ef14af915351086a32a481f8a77ea724 /pkgs/tools/audio/pnmixer/default.nix
parented463b37edcd9674bf88a11cc6c257fe442b1698 (diff)
downloadnixpkgs-21a4539698909165b10d54d09dcff09d1a286037.tar
nixpkgs-21a4539698909165b10d54d09dcff09d1a286037.tar.gz
nixpkgs-21a4539698909165b10d54d09dcff09d1a286037.tar.bz2
nixpkgs-21a4539698909165b10d54d09dcff09d1a286037.tar.lz
nixpkgs-21a4539698909165b10d54d09dcff09d1a286037.tar.xz
nixpkgs-21a4539698909165b10d54d09dcff09d1a286037.tar.zst
nixpkgs-21a4539698909165b10d54d09dcff09d1a286037.zip
Initial packaging for pnmixer
Diffstat (limited to 'pkgs/tools/audio/pnmixer/default.nix')
-rw-r--r--pkgs/tools/audio/pnmixer/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/audio/pnmixer/default.nix b/pkgs/tools/audio/pnmixer/default.nix
new file mode 100644
index 00000000000..e12a0dfc891
--- /dev/null
+++ b/pkgs/tools/audio/pnmixer/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchgit, alsaLib, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, gettext }:
+
+stdenv.mkDerivation rec {
+  name = "pa-applet";
+
+  src = fetchgit {
+    url = "git://github.com/nicklan/pnmixer.git";
+    rev = "1e09a075c0c63d8b161b13ea92528a798bdb464a";
+    sha256 = "15k689xycpc6pvq9vgg9ak92b9sg09dh4yrh83kjcaws63alrzl5";
+  };
+
+  buildInputs = [
+    alsaLib pkgconfig gtk3 glibc autoconf automake libnotify libX11 gettext
+  ];
+
+  preConfigure = ''
+    ./autogen.sh
+  '';
+
+  # work around a problem related to gtk3 updates
+  NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
+
+  postInstall = ''
+  '';
+
+  meta = with stdenv.lib; {
+    description = "";
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ iElectric ];
+    platforms = platforms.linux;
+  };
+}