From c941516f0dac445dba7f4d9e5e0e51a747b97ed1 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 22 Oct 2019 07:49:14 -0700 Subject: [PATCH] friture: 0.36 -> 0.37 (#71608) * friture: 0.36 -> 0.37 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/friture/versions * friture: restrict to Linux platforms Fails on Darwin with: Traceback (most recent call last): File "nix_run_setup", line 8, in exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec')) File "setup.py", line 13, in import sounddevice # to find the libportaudio.dylib path File "/nix/store/2sr2xabfdkcijzkwg5ic99lprwd6slij-python3.7-sounddevice-0.3.13/lib/python3.7/site-packages/sounddevice.py", line 61, in _lib = _ffi.dlopen('/nix/store/gzy8haziv610wbalnllcjpf3gd9f5619-portaudio-190600-20161030/lib/libportaudio.so.2') OSError: cannot load library '/nix/store/gzy8haziv610wbalnllcjpf3gd9f5619-portaudio-190600-20161030/lib/libportaudio.so.2': dlopen(/nix/store/gzy8haziv610wbalnllcjpf3gd9f5619-portaudio-190600-20161030/lib/libportaudio.so.2, 2): image not found --- pkgs/applications/audio/friture/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/friture/default.nix b/pkgs/applications/audio/friture/default.nix index 483f873fbd5..eae4b651685 100644 --- a/pkgs/applications/audio/friture/default.nix +++ b/pkgs/applications/audio/friture/default.nix @@ -4,13 +4,13 @@ let py = python3Packages; in py.buildPythonApplication rec { pname = "friture"; - version = "0.36"; + version = "0.37"; src = fetchFromGitHub { owner = "tlecomte"; - repo = "friture"; + repo = pname; rev = "v${version}"; - sha256 = "1pz8v0qbzqq3ig9w33cp027s6c8rj316x5sy8pqs5nsiny9ddnk6"; + sha256 = "1ivy5qfd90w1s1icsphvvdnnqz563v3fhg5pws2zn4483cgnzc2y"; }; # module imports scipy.misc.factorial, but it has been removed since scipy @@ -37,8 +37,9 @@ in py.buildPythonApplication rec { meta = with lib; { description = "A real-time audio analyzer"; - homepage = http://friture.org/; + homepage = "http://friture.org/"; license = licenses.gpl3; + platforms = platforms.linux; # fails on Darwin maintainers = [ maintainers.laikq ]; }; }