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 {
|
buildPythonPackage rec {
|
||||||
pname = "PySoundFile";
|
pname = "soundfile";
|
||||||
version = "0.9.0.post1";
|
version = "0.10.2";
|
||||||
name = pname + "-" + version;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "SoundFile";
|
||||||
sha256 = "43dd46a2afc0484c26930a7e59eef9365cee81bce7a4aadc5699f788f60d32c3";
|
inherit version;
|
||||||
|
sha256 = "0w8mjadairg6av88090kwsridd0k115672b91zlcmf37r0c64zv3";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
@ -29,10 +29,11 @@ buildPythonPackage rec {
|
|||||||
maintainers = with lib.maintainers; [ fridh ];
|
maintainers = with lib.maintainers; [ fridh ];
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
postPatch = ''
|
||||||
substituteInPlace soundfile.py --replace "'sndfile'" "'${libsndfile.out}/lib/libsndfile.so'"
|
substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# https://github.com/bastibe/PySoundFile/issues/157
|
# https://github.com/bastibe/PySoundFile/issues/157
|
||||||
disabled = isPyPy || stdenv.isi686;
|
disabled = isPyPy || stdenv.isi686;
|
||||||
|
|
||||||
}
|
}
|
@ -3826,7 +3826,9 @@ in {
|
|||||||
|
|
||||||
pysftp = callPackage ../development/python-modules/pysftp { };
|
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 { };
|
python3pika = callPackage ../development/python-modules/python3pika { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user