git.iko.soy/typeable/nixpkgs
on master help sign in
ncpamixer: init at version 1.2
commit22df03f39e0b7e4054672e84147c1a788cb0d22d authorStijn DW <stijndw@users.noreply.github.com> dateFri 16 Feb 2018, 22:50 (9 years ago) parent71d1f05
2 files changed+35
pkgs/applications/audio/ncpamixer/default.nix+33 pkgs/top-level/all-packages.nix+2
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
@@ -16568,6 +16568,8 @@ with pkgs;
1656816568
1656916569 pamixer = callPackage ../applications/audio/pamixer { };
1657016570
16571+ ncpamixer = callPackage ../applications/audio/ncpamixer { };
16572+
1657116573 pan = callPackage ../applications/networking/newsreaders/pan {
1657216574 spellChecking = false;
1657316575 };