nixpkgs/pkgs/applications/audio/ncpamixer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
782 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkg-config }:
2018-02-16 21:50:45 +00:00
stdenv.mkDerivation rec {
pname = "ncpamixer";
version = "1.3.3.3";
2018-02-16 21:50:45 +00:00
src = fetchFromGitHub {
owner = "fulhax";
repo = "ncpamixer";
rev = version;
sha256 = "sha256-TxSfiBSsCAImzCXv6o64Jy7tSefpYCkU0xtuHx26Ss4=";
2018-02-16 21:50:45 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
2018-02-16 21:50:45 +00:00
buildInputs = [ ncurses libpulseaudio ];
2018-02-16 21:50:45 +00:00
configurePhase = ''
make PREFIX=$out USE_WIDE=1 RELEASE=1 build/Makefile
2018-02-16 21:50:45 +00:00
'';
meta = with lib; {
2018-02-16 21:50:45 +00:00
description = "An ncurses mixer for PulseAudio inspired by pavucontrol";
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
};
}