Merge pull request #141141 from polygon/hackrf_update
This commit is contained in:
commit
a114626a25
1 changed files with 8 additions and 3 deletions
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hackrf";
|
pname = "hackrf";
|
||||||
version = "2018.01.1";
|
version = "2021.03.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mossmann";
|
owner = "greatscottgadgets";
|
||||||
repo = "hackrf";
|
repo = "hackrf";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w";
|
sha256 = "sha256-2kEfTco95I9YLz/18nfjJSd7U/HE5sBCEioWL2t804k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
|
||||||
cd host
|
cd host
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace host/cmake/modules/FindFFTW.cmake \
|
||||||
|
--replace "find_library (FFTW_LIBRARIES NAMES fftw3)" "find_library (FFTW_LIBRARIES NAMES fftw3f)"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An open source SDR platform";
|
description = "An open source SDR platform";
|
||||||
homepage = "https://greatscottgadgets.com/hackrf/";
|
homepage = "https://greatscottgadgets.com/hackrf/";
|
||||||
|
|
Loading…
Reference in a new issue