diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-06-23 15:32:05 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-06-23 15:32:19 +0200 |
commit | ba7e7aed08740f5a33e3ef1fa56e4c591af85dc0 (patch) | |
tree | d649e9496d5548e3f1b20e6aa4c84533e555b958 /pkgs | |
parent | 34240dbb28356de28ad5fb7b973e715903bec798 (diff) |
python.pkgs.soundfile: 0.9.0.post1 -> 0.10.2
Package was renamed as well.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/soundfile/default.nix (renamed from pkgs/development/python-modules/pysoundfile/default.nix) | 15 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 4 |
2 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pysoundfile/default.nix b/pkgs/development/python-modules/soundfile/default.nix index aa7d23c5fcb55..4ba18618674ff 100644 --- a/pkgs/development/python-modules/pysoundfile/default.nix +++ b/pkgs/development/python-modules/soundfile/default.nix @@ -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; + } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a29e76020cbe9..6f43c49050b87 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { }; |