python: rtmixer: init at 0.1.1
This commit is contained in:
parent
ec1f9624da
commit
1f8f476ca2
40
pkgs/development/python-modules/rtmixer/default.nix
Normal file
40
pkgs/development/python-modules/rtmixer/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, cython
|
||||
, portaudio
|
||||
, cffi
|
||||
, pa-ringbuffer
|
||||
, sounddevice
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rtmixer";
|
||||
version = "0.1.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spatialaudio";
|
||||
repo = "python-rtmixer";
|
||||
rev = "${version}";
|
||||
sha256 = "1bvgzzxiypvvb3qacbcry6761x9sk3dnx7jga7pli63f69vakg4y";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
buildInputs = [ portaudio ];
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cffi
|
||||
pa-ringbuffer
|
||||
sounddevice
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Reliable low-latency audio playback and recording with Python, using PortAudio via the sounddevice module";
|
||||
homepage = "https://python-rtmixer.readthedocs.io";
|
||||
maintainers = with lib.maintainers; [ laikq ];
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
|
@ -3502,6 +3502,8 @@ in {
|
|||
|
||||
mailman-web = callPackage ../servers/mail/mailman/web.nix { };
|
||||
|
||||
rtmixer = callPackage ../development/python-modules/rtmixer { };
|
||||
|
||||
mail-parser = callPackage ../development/python-modules/mail-parser { };
|
||||
|
||||
Mako = callPackage ../development/python-modules/Mako { };
|
||||
|
|
Loading…
Reference in a new issue