From b020675453d004be8bfe0d293ada91d99d2230aa Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Thu, 8 Sep 2016 11:34:50 +0900 Subject: [PATCH] pamix: init at 1.4.1 --- pkgs/applications/audio/pamix/default.nix | 26 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/audio/pamix/default.nix diff --git a/pkgs/applications/audio/pamix/default.nix b/pkgs/applications/audio/pamix/default.nix new file mode 100644 index 000000000000..8f71c848f184 --- /dev/null +++ b/pkgs/applications/audio/pamix/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub +, autoreconfHook, autoconf-archive, pkgconfig +, libpulseaudio, ncurses }: + +stdenv.mkDerivation rec { + name = "pamix-${version}"; + version = "1.4.1"; + + src = fetchFromGitHub { + owner = "patroclos"; + repo = "pamix"; + rev = "v${version}"; + sha256 = "06pxpalzynb8z7qwhkfs7sj823k9chdmpyj40rp27f2znf2qga19"; + }; + + nativeBuildInputs = [ autoreconfHook autoconf-archive pkgconfig ]; + buildInputs = [ libpulseaudio ncurses ]; + + meta = with stdenv.lib; { + description = "Pulseaudio terminal mixer"; + homepage = https://github.com/patroclos/PAmix; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ ericsagnes ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0102a4d97ec8..b9cc5c2af221 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14226,6 +14226,8 @@ in osmo = callPackage ../applications/office/osmo { }; + pamix = callPackage ../applications/audio/pamix { }; + pamixer = callPackage ../applications/audio/pamixer { }; pan = callPackage ../applications/networking/newsreaders/pan {