mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
8b8c39e69a
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ncpamixer/versions
34 lines
786 B
Nix
34 lines
786 B
Nix
{ stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ncpamixer-${version}";
|
|
version = "1.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fulhax";
|
|
repo = "ncpamixer";
|
|
rev = version;
|
|
sha256 = "19pxfvfhhrbfk1wz5awx60y51jccrgrcvlq7lb622sw2z0wzw4ac";
|
|
};
|
|
|
|
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";
|
|
homepage = https://github.com/fulhax/ncpamixer;
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ StijnDW ];
|
|
};
|
|
}
|