2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkg-config }:
|
2018-02-16 21:50:45 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ncpamixer";
|
2023-03-31 22:57:45 +00:00
|
|
|
version = "1.3.3.3";
|
2018-02-16 21:50:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fulhax";
|
|
|
|
repo = "ncpamixer";
|
2023-03-31 22:57:45 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-TxSfiBSsCAImzCXv6o64Jy7tSefpYCkU0xtuHx26Ss4=";
|
2018-02-16 21:50:45 +00:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2018-02-16 21:50:45 +00:00
|
|
|
|
2021-02-12 01:42:39 +00:00
|
|
|
buildInputs = [ ncurses libpulseaudio ];
|
2018-02-16 21:50:45 +00:00
|
|
|
|
2021-02-12 01:42:39 +00:00
|
|
|
configurePhase = ''
|
|
|
|
make PREFIX=$out USE_WIDE=1 RELEASE=1 build/Makefile
|
2018-02-16 21:50:45 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-16 21:50:45 +00:00
|
|
|
description = "An ncurses mixer for PulseAudio inspired by pavucontrol";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/fulhax/ncpamixer";
|
2018-02-16 21:50:45 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2022-06-22 17:58:36 +00:00
|
|
|
maintainers = with maintainers; [ StijnDW ] ++ teams.c3d2.members;
|
2018-02-16 21:50:45 +00:00
|
|
|
};
|
|
|
|
}
|