New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
init Limesuite, SoapySDR #37020
init Limesuite, SoapySDR #37020
Conversation
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
@GrahamcOfBorg build soapysdr limesuite |
Success on x86_64-linux (full log) Attempted: soapysdr, limesuite Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: soapysdr, limesuite Partial log (click to expand)
|
No attempt on x86_64-darwin The following builds were skipped because they don't evaluate on x86_64-darwin: soapysdr, limesuite No log is available. |
|
||
buildInputs = [ libusb cmake wxGTK30 mesa libX11 soapysdr sqlite doxygen gnuplot ]; | ||
|
||
configurePhase = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defining a configure phase is not necessary here. You can use cmakeFlags = [ "-DENABLE_STREAM_UNITE=ON" ]
instead.
version = "17.12.0"; | ||
name = "LimeSuite-${version}"; | ||
|
||
src = fetchurl { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think fetchFromGitHub
is the preferred method:
src = fetchFromGitHub {
owner = "myriadrf";
repo = "LimeSuite";
rev = "v${version}";
sha256 = "1rd79xxnwr62fmy2vq895jyiqnz6lm4p8bl09adjqqm4y5npryf9";
};
"-DPYTHON3_EXECUTABLE=${python3}/bin/python" | ||
]; | ||
|
||
configurePhase = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. Defining cmakeFlags
should be enough.
How do you keep track of the SoapySDR plugins? Every application that wants to use the soapysdr backend needs to have (i) an environment variable set pointing to all plugin derivations or (ii) have all plugins need to be at a soapysdr compiled-in path. |
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)