2014-08-24 01:47:29 +00:00
|
|
|
{ stdenv, fetchgit, alsaLib, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-24 01:57:00 +00:00
|
|
|
name = "pnmixer";
|
2014-08-24 01:47:29 +00:00
|
|
|
|
|
|
|
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; {
|
2014-08-25 08:04:49 +00:00
|
|
|
description = "ALSA mixer for the system tray";
|
2014-08-24 01:47:29 +00:00
|
|
|
license = licenses.gpl3;
|
2014-08-24 01:57:00 +00:00
|
|
|
maintainers = with maintainers; [ campadrenalin ];
|
2014-08-24 01:47:29 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|