git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.soundfile: 0.9.0.post1 -> 0.10.2

Package was renamed as well.

commitba7e7aed08740f5a33e3ef1fa56e4c591af85dc0 authorFrederik Rietdijk <fridh@fridh.nl> dateSun 23 Jun 2019, 15:32 (7 years ago) parent34240db
2 files changed+11−8
pkgs/development/python-modules/pysoundfile/default.nix → pkgs/development/python-modules/soundfile/default.nix+8−7 pkgs/top-level/python-packages.nix+3−1
pkgs/development/python-modules/pysoundfile/default.nix → pkgs/development/python-modules/soundfile/default.nixrenamed+8−7
@@ -10,13 +10,13 @@
1010}:
1111
1212buildPythonPackage rec {
13− pname = "PySoundFile";
14− version = "0.9.0.post1";
15− name = pname + "-" + version;
13+ pname = "soundfile";
14+ version = "0.10.2";
1615
1716 src = fetchPypi {
18− inherit pname version;
19− sha256 = "43dd46a2afc0484c26930a7e59eef9365cee81bce7a4aadc5699f788f60d32c3";
17+ pname = "SoundFile";
18+ inherit version;
19+ sha256 = "0w8mjadairg6av88090kwsridd0k115672b91zlcmf37r0c64zv3";
2020 };
2121
2222 checkInputs = [ pytest ];
@@ -29,10 +29,11 @@ buildPythonPackage rec {
2929 maintainers = with lib.maintainers; [ fridh ];
3030 };
3131
32− prePatch = ''
33− substituteInPlace soundfile.py --replace "'sndfile'" "'${libsndfile.out}/lib/libsndfile.so'"
32+ postPatch = ''
33+ substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'"
3434 '';
3535
3636 # https://github.com/bastibe/PySoundFile/issues/157
3737 disabled = isPyPy || stdenv.isi686;
38+
3839}
pkgs/top-level/python-packages.nix+3−1
@@ -3826,7 +3826,9 @@ in {
38263826
38273827 pysftp = callPackage ../development/python-modules/pysftp { };
38283828
3829− pysoundfile = callPackage ../development/python-modules/pysoundfile { };
3829+ soundfile = callPackage ../development/python-modules/soundfile { };
3830+
3831+ pysoundfile = self.soundfile; # Alias added 23-06-2019
38303832
38313833 python3pika = callPackage ../development/python-modules/python3pika { };
38323834