diff options
author | Stijn DW <stijndw@users.noreply.github.com> | 2018-02-16 22:50:45 +0100 |
---|---|---|
committer | Stijn DW <stijndw@users.noreply.github.com> | 2018-02-16 22:50:45 +0100 |
commit | 22df03f39e0b7e4054672e84147c1a788cb0d22d (patch) | |
tree | a22c06c02585a39b38cb03a079833720dd20c547 /pkgs/applications/audio | |
parent | 71d1f053b7607ec735892a6f8e9077a5b81bb953 (diff) | |
download | nixlib-22df03f39e0b7e4054672e84147c1a788cb0d22d.tar nixlib-22df03f39e0b7e4054672e84147c1a788cb0d22d.tar.gz nixlib-22df03f39e0b7e4054672e84147c1a788cb0d22d.tar.bz2 nixlib-22df03f39e0b7e4054672e84147c1a788cb0d22d.tar.lz nixlib-22df03f39e0b7e4054672e84147c1a788cb0d22d.tar.xz nixlib-22df03f39e0b7e4054672e84147c1a788cb0d22d.tar.zst nixlib-22df03f39e0b7e4054672e84147c1a788cb0d22d.zip |
ncpamixer: init at version 1.2
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/ncpamixer/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/audio/ncpamixer/default.nix b/pkgs/applications/audio/ncpamixer/default.nix new file mode 100644 index 000000000000..c3449ed3a4f4 --- /dev/null +++ b/pkgs/applications/audio/ncpamixer/default.nix @@ -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 ]; + }; +} |