2018-02-16 21:50:45 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ncpamixer";
|
2020-11-03 13:24:42 +00:00
|
|
|
version = "1.3.3.1";
|
2018-02-16 21:50:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fulhax";
|
|
|
|
repo = "ncpamixer";
|
|
|
|
rev = version;
|
2020-11-03 13:24:42 +00:00
|
|
|
sha256 = "1v3bz0vpgh18257hdnz3yvbnl51779g1h5b265zgc21ks7m1jw5z";
|
2018-02-16 21:50:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses libpulseaudio ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
make PREFIX=$out build/Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
make build
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An ncurses mixer for PulseAudio inspired by pavucontrol";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/fulhax/ncpamixer";
|
2018-02-16 21:50:45 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ StijnDW ];
|
|
|
|
};
|
|
|
|
}
|