2017-03-06 11:15:29 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, alsaLib, gtk3, glib, libnotify, libX11 }:
|
2014-08-24 03:47:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-30 01:11:15 +02:00
|
|
|
name = "pnmixer-${version}";
|
2017-05-26 13:51:26 +02:00
|
|
|
version = "0.7.1";
|
2014-08-24 03:47:29 +02:00
|
|
|
|
2016-04-30 01:11:15 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nicklan";
|
|
|
|
repo = "pnmixer";
|
2016-09-19 11:42:23 +02:00
|
|
|
rev = "v${version}";
|
2017-05-26 13:51:26 +02:00
|
|
|
sha256 = "0mmrq4m2rk0wmkfmqs3fk2rnw5g5lvd7ill2s3d7ggf9vba1pcn2";
|
2014-08-24 03:47:29 +02:00
|
|
|
};
|
|
|
|
|
2017-03-06 11:15:29 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig gettext ];
|
2016-04-30 01:11:15 +02:00
|
|
|
|
2017-03-06 11:15:29 +01:00
|
|
|
buildInputs = [ alsaLib gtk3 glib libnotify libX11 ];
|
2014-08-24 03:47:29 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-04-30 01:11:15 +02:00
|
|
|
homepage = https://github.com/nicklan/pnmixer;
|
2017-05-26 13:51:26 +02:00
|
|
|
description = "ALSA volume mixer for the system tray";
|
2014-08-24 03:47:29 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2016-09-19 11:42:23 +02:00
|
|
|
maintainers = with maintainers; [ campadrenalin romildo ];
|
2014-08-24 03:47:29 +02:00
|
|
|
};
|
|
|
|
}
|