nixpkgs/pkgs/tools/audio/pnmixer/default.nix

30 lines
790 B
Nix
Raw Normal View History

2016-09-19 11:42:23 +02:00
{ stdenv, fetchFromGitHub, pkgconfig, intltool, autoconf, automake, alsaLib, gtk3, glibc, libnotify, libX11 }:
2014-08-24 03:47:29 +02:00
stdenv.mkDerivation rec {
2016-04-30 01:11:15 +02:00
name = "pnmixer-${version}";
2016-09-19 11:42:23 +02:00
version = "0.7";
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}";
sha256 = "077l28qhr82ifqfwc2nqi5q1hmi6dyqqbhmjcsn27p4y433f3rpb";
2014-08-24 03:47:29 +02:00
};
2016-09-19 11:42:23 +02:00
nativeBuildInputs = [ pkgconfig autoconf automake intltool ];
2016-04-30 01:11:15 +02:00
2016-09-19 11:42:23 +02:00
buildInputs = [ alsaLib gtk3 glibc libnotify libX11 ];
2014-08-24 03:47:29 +02:00
preConfigure = ''
./autogen.sh
'';
meta = with stdenv.lib; {
2016-04-30 01:11:15 +02:00
homepage = https://github.com/nicklan/pnmixer;
2014-08-25 10:04:49 +02:00
description = "ALSA 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
};
}