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

30 lines
790 B
Nix
Raw Normal View History

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