python.pkgs.sounddevice: 0.3.6 -> 0.3.8
This commit is contained in:
parent
5ecc470b8c
commit
08f9183d75
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cffi
|
||||
, numpy
|
||||
, portaudio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sounddevice";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dc5ec8534c3831ab133c497721f3aaeed4f5084b0eda842f0c0ada09f2f066dc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi numpy portaudio ];
|
||||
|
||||
# No tests included nor upstream available.
|
||||
doCheck = false;
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace sounddevice.py --replace "'portaudio'" "'${portaudio}/lib/libportaudio.so.2'"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Play and Record Sound with Python";
|
||||
homepage = http://python-sounddevice.rtfd.org/;
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
|
@ -21773,31 +21773,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
sounddevice = buildPythonPackage rec {
|
||||
name = "sounddevice-${version}";
|
||||
version = "0.3.6";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/sounddevice/${name}.tar.gz";
|
||||
sha256 = "4ef39be2d13069fbad8c69ac259e018d96ce55c23b529a7e0be9bd9a76e2e8da";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ cffi numpy pkgs.portaudio ];
|
||||
|
||||
# No tests included nor upstream available.
|
||||
doCheck = false;
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace sounddevice.py --replace "'portaudio'" "'${pkgs.portaudio}/lib/libportaudio.so.2'"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Play and Record Sound with Python";
|
||||
homepage = http://python-sounddevice.rtfd.org/;
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fridh ];
|
||||
};
|
||||
};
|
||||
sounddevice = callPackage ../development/python-modules/sounddevice { };
|
||||
|
||||
stevedore = callPackage ../development/python-modules/stevedore {};
|
||||
|
||||
|
|
Loading…
Reference in New Issue