summary refs log tree commit diff
path: root/pkgs/tools/audio/pnmixer/default.nix
blob: d7964c0961c6818ad79845e7b8681d8aa4ce2f47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchgit, alsaLib, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, gettext }:

stdenv.mkDerivation rec {
  name = "pnmixer";

  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";

  meta = with stdenv.lib; {
    description = "ALSA mixer for the system tray";
    license = licenses.gpl3;
    maintainers = with maintainers; [ campadrenalin ];
    platforms = platforms.linux;
  };
}