python3Packages.sounddevice: 0.4.3 → 0.4.4, fix on darwin
This commit is contained in:
parent
f19721a00a
commit
2ebda61ecb
|
@ -1,4 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
, isPy27
|
||||||
|
@ -10,12 +11,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sounddevice";
|
pname = "sounddevice";
|
||||||
version = "0.4.3";
|
version = "0.4.4";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "f1667a7467b65fac4c4ebf668b4e9698eb7333fc3d32bc3c7ec9839ea7cb6c20";
|
sha256 = "sha256-9pD1qkGKViaMe9vJfWl8ha3QE0xcedRLiirXobhdp4k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ cffi numpy portaudio ];
|
propagatedBuildInputs = [ cffi numpy portaudio ];
|
||||||
|
@ -28,7 +29,7 @@ buildPythonPackage rec {
|
||||||
patches = [
|
patches = [
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./fix-portaudio-library-path.patch;
|
src = ./fix-portaudio-library-path.patch;
|
||||||
portaudio = "${portaudio}/lib/libportaudio.so.2";
|
portaudio = "${portaudio}/lib/libportaudio${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue