1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/audio/pnmixer/default.nix
2014-08-25 10:03:26 +02:00

33 lines
836 B
Nix

{ stdenv, fetchgit, alsaLib, pkgconfig, gtk3, glibc, autoconf, automake, libnotify, libX11, gettext }:
stdenv.mkDerivation rec {
name = "pnmixer";
src = fetchgit {
url = "git://github.com/nicklan/pnmixer.git";
rev = "1e09a075c0c63d8b161b13ea92528a798bdb464a";
sha256 = "15k689xycpc6pvq9vgg9ak92b9sg09dh4yrh83kjcaws63alrzl5";
};
buildInputs = [
alsaLib pkgconfig gtk3 glibc autoconf automake libnotify libX11 gettext
];
preConfigure = ''
./autogen.sh
'';
# work around a problem related to gtk3 updates
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
postInstall = ''
'';
meta = with stdenv.lib; {
description = "ALSA mixer for the system tray.";
license = licenses.gpl3;
maintainers = with maintainers; [ campadrenalin ];
platforms = platforms.linux;
};
}