git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #34564 from StijnDW/master

Add new package "ncpamixer"

commit3b9874452d04ac9055c1f2f143c9332a2f54e402 authorJoachim F <joachifm@users.noreply.github.com> dateFri 16 Feb 2018, 22:09 (9 years ago) parentb9214ee22df03f
3 files changed+36
lib/maintainers.nix+1 pkgs/applications/audio/ncpamixer/default.nix+33 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -662,6 +662,7 @@
662662 sternenseemann = "Lukas Epple <post@lukasepple.de>";
663663 stesie = "Stefan Siegl <stesie@brokenpipe.de>";
664664 steveej = "Stefan Junker <mail@stefanjunker.de>";
665+ StijnDW = "Stijn DW <stekke@airmail.cc>";
665666 StillerHarpo = "Florian Engel <florianengel39@gmail.com>";
666667 stumoss = "Stuart Moss <samoss@gmail.com>";
667668 SuprDewd = "Bjarki Ágúst Guðmundsson <suprdewd@gmail.com>";
pkgs/applications/audio/ncpamixer/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkgconfig }:
2+
3+stdenv.mkDerivation rec {
4+
5+ name = "ncpamixer-${version}";
6+ version = "1.2";
7+
8+ src = fetchFromGitHub {
9+ owner = "fulhax";
10+ repo = "ncpamixer";
11+ rev = version;
12+ sha256 = "01kvd0pg5yraymlln5xdzqj1r6adxfvvza84wxn2481kcxfral54";
13+ };
14+
15+ buildInputs = [ ncurses libpulseaudio ];
16+ nativeBuildInputs = [ cmake pkgconfig ];
17+
18+ configurePhase = ''
19+ make PREFIX=$out build/Makefile
20+ '';
21+
22+ buildPhase = ''
23+ make build
24+ '';
25+
26+ meta = with stdenv.lib; {
27+ description = "An ncurses mixer for PulseAudio inspired by pavucontrol";
28+ homepage = https://github.com/fulhax/ncpamixer;
29+ license = licenses.mit;
30+ platforms = platforms.linux;
31+ maintainers = with maintainers; [ StijnDW ];
32+ };
33+}
pkgs/top-level/all-packages.nix+2
@@ -16674,6 +16674,8 @@ with pkgs;
1667416674
1667516675 pamixer = callPackage ../applications/audio/pamixer { };
1667616676
16677+ ncpamixer = callPackage ../applications/audio/ncpamixer { };
16678+
1667716679 pan = callPackage ../applications/networking/newsreaders/pan {
1667816680 spellChecking = false;
1667916681 };