pnmixer: 2016-04-23 -> 0.7

This commit is contained in:
José Romildo Malaquias 2016-09-19 06:42:23 -03:00
parent 07154a77e7
commit a1ce861647

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