2019-09-28 15:50:30 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
|
|
|
|
|
|
|
|
let
|
|
|
|
py = python3Packages;
|
|
|
|
in py.buildPythonApplication rec {
|
|
|
|
pname = "friture";
|
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 <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 13, in <module>
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 <module>
_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
2019-10-22 14:49:14 +00:00
|
|
|
version = "0.37";
|
2019-09-28 15:50:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tlecomte";
|
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 <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 13, in <module>
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 <module>
_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
2019-10-22 14:49:14 +00:00
|
|
|
repo = pname;
|
2019-09-28 15:50:30 +00:00
|
|
|
rev = "v${version}";
|
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 <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 13, in <module>
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 <module>
_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
2019-10-22 14:49:14 +00:00
|
|
|
sha256 = "1ivy5qfd90w1s1icsphvvdnnqz563v3fhg5pws2zn4483cgnzc2y";
|
2019-09-28 15:50:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# module imports scipy.misc.factorial, but it has been removed since scipy
|
|
|
|
# 1.3.0; use scipy.special.factorial instead
|
|
|
|
patches = [ ./factorial.patch ];
|
|
|
|
|
|
|
|
nativeBuildInputs = (with py; [ numpy cython scipy ]) ++
|
|
|
|
[ wrapQtAppsHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with py; [
|
|
|
|
sounddevice
|
|
|
|
pyopengl
|
|
|
|
docutils
|
|
|
|
numpy
|
|
|
|
pyqt5
|
|
|
|
appdirs
|
|
|
|
pyrr
|
|
|
|
];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapQtApp $out/bin/friture
|
|
|
|
wrapQtApp $out/bin/.friture-wrapped
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A real-time audio analyzer";
|
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 <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 13, in <module>
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 <module>
_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
2019-10-22 14:49:14 +00:00
|
|
|
homepage = "http://friture.org/";
|
2019-09-28 15:50:30 +00:00
|
|
|
license = licenses.gpl3;
|
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 <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 13, in <module>
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 <module>
_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
2019-10-22 14:49:14 +00:00
|
|
|
platforms = platforms.linux; # fails on Darwin
|
2019-09-28 15:50:30 +00:00
|
|
|
maintainers = [ maintainers.laikq ];
|
|
|
|
};
|
|
|
|
}
|