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

37 lines
942 B
Nix
Raw Normal View History

2016-04-30 01:11:15 +02:00
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, intltool }:
2014-08-24 03:47:29 +02:00
stdenv.mkDerivation rec {
2016-04-30 01:11:15 +02:00
name = "pnmixer-${version}";
version = "2016-04-23";
2014-08-24 03:47:29 +02:00
2016-04-30 01:11:15 +02:00
src = fetchFromGitHub {
owner = "nicklan";
repo = "pnmixer";
rev = "cb20096716dbb5440b6560d81108d9c8f7188c48";
sha256 = "17gl5fb3hpdgxyys8h5k3nraw7qdyqv9k9kz8ykr5h7gg29nxy66";
2014-08-24 03:47:29 +02:00
};
2016-04-30 01:11:15 +02:00
nativeBuildInputs = [
pkgconfig autoconf automake intltool
];
2014-08-24 03:47:29 +02:00
buildInputs = [
2016-04-30 01:11:15 +02:00
alsaLib gtk3 glibc libnotify libX11
2014-08-24 03:47:29 +02: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 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;
2014-08-24 03:57:00 +02:00
maintainers = with maintainers; [ campadrenalin ];
2014-08-24 03:47:29 +02:00
platforms = platforms.linux;
};
}