87f9c27ba9
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
29 lines
782 B
Nix
29 lines
782 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ncpamixer";
|
|
version = "1.3.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fulhax";
|
|
repo = "ncpamixer";
|
|
rev = version;
|
|
sha256 = "sha256-TxSfiBSsCAImzCXv6o64Jy7tSefpYCkU0xtuHx26Ss4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ ncurses libpulseaudio ];
|
|
|
|
configurePhase = ''
|
|
make PREFIX=$out USE_WIDE=1 RELEASE=1 build/Makefile
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An ncurses mixer for PulseAudio inspired by pavucontrol";
|
|
homepage = "https://github.com/fulhax/ncpamixer";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ StijnDW ] ++ teams.c3d2.members;
|
|
};
|
|
}
|