Merge pull request #34564 from StijnDW/master
Add new package "ncpamixer"
This commit is contained in:
commit
3b9874452d
3 changed files with 36 additions and 0 deletions
|
@ -662,6 +662,7 @@
|
|||
sternenseemann = "Lukas Epple <post@lukasepple.de>";
|
||||
stesie = "Stefan Siegl <stesie@brokenpipe.de>";
|
||||
steveej = "Stefan Junker <mail@stefanjunker.de>";
|
||||
StijnDW = "Stijn DW <stekke@airmail.cc>";
|
||||
StillerHarpo = "Florian Engel <florianengel39@gmail.com>";
|
||||
stumoss = "Stuart Moss <samoss@gmail.com>";
|
||||
SuprDewd = "Bjarki Ágúst Guðmundsson <suprdewd@gmail.com>";
|
||||
|
|
33
pkgs/applications/audio/ncpamixer/default.nix
Normal file
33
pkgs/applications/audio/ncpamixer/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "ncpamixer-${version}";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fulhax";
|
||||
repo = "ncpamixer";
|
||||
rev = version;
|
||||
sha256 = "01kvd0pg5yraymlln5xdzqj1r6adxfvvza84wxn2481kcxfral54";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -16674,6 +16674,8 @@ with pkgs;
|
|||
|
||||
pamixer = callPackage ../applications/audio/pamixer { };
|
||||
|
||||
ncpamixer = callPackage ../applications/audio/ncpamixer { };
|
||||
|
||||
pan = callPackage ../applications/networking/newsreaders/pan {
|
||||
spellChecking = false;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue