3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #18757 from romildo/upd.pnmixer

pnmixer: 2016-04-23 -> 0.7
This commit is contained in:
Daiderd Jordan 2016-09-23 00:39:05 +02:00 committed by GitHub
commit 9a4d60ef53

View file

@ -1,36 +1,29 @@
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, intltool }: { stdenv, fetchFromGitHub, pkgconfig, intltool, autoconf, automake, alsaLib, gtk3, glibc, libnotify, libX11 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pnmixer-${version}"; name = "pnmixer-${version}";
version = "2016-04-23"; version = "0.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nicklan"; owner = "nicklan";
repo = "pnmixer"; repo = "pnmixer";
rev = "cb20096716dbb5440b6560d81108d9c8f7188c48"; rev = "v${version}";
sha256 = "17gl5fb3hpdgxyys8h5k3nraw7qdyqv9k9kz8ykr5h7gg29nxy66"; sha256 = "077l28qhr82ifqfwc2nqi5q1hmi6dyqqbhmjcsn27p4y433f3rpb";
}; };
nativeBuildInputs = [ nativeBuildInputs = [ pkgconfig autoconf automake intltool ];
pkgconfig autoconf automake intltool
];
buildInputs = [ buildInputs = [ alsaLib gtk3 glibc libnotify libX11 ];
alsaLib gtk3 glibc libnotify libX11
];
preConfigure = '' preConfigure = ''
./autogen.sh ./autogen.sh
''; '';
# work around a problem related to gtk3 updates
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/nicklan/pnmixer; homepage = https://github.com/nicklan/pnmixer;
description = "ALSA mixer for the system tray"; description = "ALSA mixer for the system tray";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ campadrenalin ];
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ campadrenalin romildo ];
}; };
} }