summary refs log tree commit diff
path: root/pkgs/tools/audio/pnmixer/default.nix
blob: 34946355d10898829afabe77f76d58fe7cdb6f43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchFromGitHub, pkgconfig, intltool, autoconf, automake, alsaLib, gtk3, glibc, libnotify, libX11 }:

stdenv.mkDerivation rec {
  name = "pnmixer-${version}";
  version = "0.7";

  src = fetchFromGitHub {
    owner = "nicklan";
    repo = "pnmixer";
    rev = "v${version}";
    sha256 = "077l28qhr82ifqfwc2nqi5q1hmi6dyqqbhmjcsn27p4y433f3rpb";
  };

  nativeBuildInputs = [ pkgconfig autoconf automake intltool ];

  buildInputs = [ alsaLib gtk3 glibc libnotify libX11 ];

  preConfigure = ''
    ./autogen.sh
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/nicklan/pnmixer;
    description = "ALSA mixer for the system tray";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ campadrenalin romildo ];
  };
}