2016-09-19 10:42:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, intltool, autoconf, automake, alsaLib, gtk3, glibc, libnotify, libX11 }:
|
2014-08-24 02:47:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-30 00:11:15 +01:00
|
|
|
name = "pnmixer-${version}";
|
2016-09-19 10:42:23 +01:00
|
|
|
version = "0.7";
|
2014-08-24 02:47:29 +01:00
|
|
|
|
2016-04-30 00:11:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicklan";
|
|
|
|
repo = "pnmixer";
|
2016-09-19 10:42:23 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "077l28qhr82ifqfwc2nqi5q1hmi6dyqqbhmjcsn27p4y433f3rpb";
|
2014-08-24 02:47:29 +01:00
|
|
|
};
|
|
|
|
|
2016-09-19 10:42:23 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig autoconf automake intltool ];
|
2016-04-30 00:11:15 +01:00
|
|
|
|
2016-09-19 10:42:23 +01:00
|
|
|
buildInputs = [ alsaLib gtk3 glibc libnotify libX11 ];
|
2014-08-24 02:47:29 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
|
|
|
platforms = platforms.linux;
|
2016-09-19 10:42:23 +01:00
|
|
|
maintainers = with maintainers; [ campadrenalin romildo ];
|
2014-08-24 02:47:29 +01:00
|
|
|
};
|
|
|
|
}
|