2016-04-30 00:11:15 +01:00
|
|
|
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, intltool }:
|
2014-08-24 02:47:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-30 00:11:15 +01:00
|
|
|
name = "pnmixer-${version}";
|
|
|
|
version = "2016-04-23";
|
2014-08-24 02:47:29 +01:00
|
|
|
|
2016-04-30 00:11:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicklan";
|
|
|
|
repo = "pnmixer";
|
|
|
|
rev = "cb20096716dbb5440b6560d81108d9c8f7188c48";
|
|
|
|
sha256 = "17gl5fb3hpdgxyys8h5k3nraw7qdyqv9k9kz8ykr5h7gg29nxy66";
|
2014-08-24 02:47:29 +01:00
|
|
|
};
|
|
|
|
|
2016-04-30 00:11:15 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig autoconf automake intltool
|
|
|
|
];
|
|
|
|
|
2014-08-24 02:47:29 +01:00
|
|
|
buildInputs = [
|
2016-04-30 00:11:15 +01:00
|
|
|
alsaLib gtk3 glibc libnotify libX11
|
2014-08-24 02:47:29 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
# work around a problem related to gtk3 updates
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-04-30 00:11:15 +01:00
|
|
|
homepage = https://github.com/nicklan/pnmixer;
|
2014-08-25 09:04:49 +01:00
|
|
|
description = "ALSA mixer for the system tray";
|
2014-08-24 02:47:29 +01:00
|
|
|
license = licenses.gpl3;
|
2014-08-24 02:57:00 +01:00
|
|
|
maintainers = with maintainers; [ campadrenalin ];
|
2014-08-24 02:47:29 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|