python.pkgs.soundfile: 0.9.0.post1 -> 0.10.2
Package was renamed as well.
This commit is contained in:
parent
34240dbb28
commit
ba7e7aed08
|
@ -10,13 +10,13 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PySoundFile";
|
||||
version = "0.9.0.post1";
|
||||
name = pname + "-" + version;
|
||||
pname = "soundfile";
|
||||
version = "0.10.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "43dd46a2afc0484c26930a7e59eef9365cee81bce7a4aadc5699f788f60d32c3";
|
||||
pname = "SoundFile";
|
||||
inherit version;
|
||||
sha256 = "0w8mjadairg6av88090kwsridd0k115672b91zlcmf37r0c64zv3";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
@ -29,10 +29,11 @@ buildPythonPackage rec {
|
|||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace soundfile.py --replace "'sndfile'" "'${libsndfile.out}/lib/libsndfile.so'"
|
||||
postPatch = ''
|
||||
substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'"
|
||||
'';
|
||||
|
||||
# https://github.com/bastibe/PySoundFile/issues/157
|
||||
disabled = isPyPy || stdenv.isi686;
|
||||
|
||||
}
|
|
@ -3826,7 +3826,9 @@ in {
|
|||
|
||||
pysftp = callPackage ../development/python-modules/pysftp { };
|
||||
|
||||
pysoundfile = callPackage ../development/python-modules/pysoundfile { };
|
||||
soundfile = callPackage ../development/python-modules/soundfile { };
|
||||
|
||||
pysoundfile = self.soundfile; # Alias added 23-06-2019
|
||||
|
||||
python3pika = callPackage ../development/python-modules/python3pika { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue