gnuradio: format arguments and inputs
This commit is contained in:
parent
6817991464
commit
208b5fbd75
@ -1,18 +1,35 @@
|
|||||||
{ stdenv, fetchFromGitHub, writeText, makeWrapper
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
|
, writeText
|
||||||
# Dependencies documented @ https://gnuradio.org/doc/doxygen/build_guide.html
|
# Dependencies documented @ https://gnuradio.org/doc/doxygen/build_guide.html
|
||||||
# => core dependencies
|
# => core dependencies
|
||||||
, cmake, pkgconfig, git, boost, cppunit, fftw
|
, cmake
|
||||||
|
, pkgconfig
|
||||||
|
, git
|
||||||
|
, boost
|
||||||
|
, cppunit
|
||||||
|
, fftw
|
||||||
# => python wrappers
|
# => python wrappers
|
||||||
# May be able to upgrade to swig3
|
# May be able to upgrade to swig3
|
||||||
, python, swig2, numpy, scipy, matplotlib
|
, python
|
||||||
|
, swig2
|
||||||
|
, numpy
|
||||||
|
, scipy
|
||||||
|
, matplotlib
|
||||||
# => grc - the gnu radio companion
|
# => grc - the gnu radio companion
|
||||||
, Mako, cheetah, pygtk # Note: GR is migrating to Mako. Cheetah should be removed for GR3.8
|
, Mako
|
||||||
|
, cheetah
|
||||||
|
, pygtk # Note: GR is migrating to Mako. Cheetah should be removed for GR3.8
|
||||||
# => gr-wavelet: collection of wavelet blocks
|
# => gr-wavelet: collection of wavelet blocks
|
||||||
, gsl
|
, gsl
|
||||||
# => gr-qtgui: the Qt-based GUI
|
# => gr-qtgui: the Qt-based GUI
|
||||||
, qt4, qwt, pyqt4
|
, qt4
|
||||||
|
, qwt
|
||||||
|
, pyqt4
|
||||||
# => gr-wxgui: the Wx-based GUI
|
# => gr-wxgui: the Wx-based GUI
|
||||||
, wxPython, lxml
|
, wxPython
|
||||||
|
, lxml
|
||||||
# => gr-audio: audio subsystems (system/OS dependent)
|
# => gr-audio: audio subsystems (system/OS dependent)
|
||||||
, alsaLib # linux 'audio-alsa'
|
, alsaLib # linux 'audio-alsa'
|
||||||
, CoreAudio # darwin 'audio-osx'
|
, CoreAudio # darwin 'audio-osx'
|
||||||
@ -21,7 +38,9 @@
|
|||||||
# => gr-video-sdl: PAL and NTSC display
|
# => gr-video-sdl: PAL and NTSC display
|
||||||
, SDL
|
, SDL
|
||||||
# Other
|
# Other
|
||||||
, libusb1, orc, pyopengl
|
, libusb1
|
||||||
|
, orc
|
||||||
|
, pyopengl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -37,17 +56,39 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake pkgconfig git makeWrapper cppunit orc
|
cmake
|
||||||
|
pkgconfig
|
||||||
|
git
|
||||||
|
makeWrapper
|
||||||
|
cppunit
|
||||||
|
orc
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost fftw python swig2 lxml qt4
|
boost
|
||||||
qwt SDL libusb1 uhd gsl
|
fftw
|
||||||
|
python
|
||||||
|
swig2
|
||||||
|
lxml
|
||||||
|
qt4
|
||||||
|
qwt
|
||||||
|
SDL
|
||||||
|
libusb1
|
||||||
|
uhd
|
||||||
|
gsl
|
||||||
] ++ stdenv.lib.optionals stdenv.isLinux [ alsaLib ]
|
] ++ stdenv.lib.optionals stdenv.isLinux [ alsaLib ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreAudio ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ CoreAudio ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
Mako cheetah numpy scipy matplotlib pyqt4 pygtk wxPython pyopengl
|
Mako
|
||||||
|
cheetah
|
||||||
|
numpy
|
||||||
|
scipy
|
||||||
|
matplotlib
|
||||||
|
pyqt4
|
||||||
|
pygtk
|
||||||
|
wxPython
|
||||||
|
pyopengl
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lpthread";
|
NIX_LDFLAGS = "-lpthread";
|
||||||
|
Loading…
Reference in New Issue
Block a user