diff options
author | polygon <polygon@wh2.tu-dresden.de> | 2021-10-09 22:29:09 +0200 |
---|---|---|
committer | polygon <polygon@wh2.tu-dresden.de> | 2021-10-10 20:38:11 +0200 |
commit | acb7f9b0ce4f19cbc2104fc560b6503ae24867af (patch) | |
tree | d7d86f21f9a2844949607ee5b6f5347bbbaedcff | |
parent | 5ba6178d0802ab4dfe6b62546df93754a6d8fae1 (diff) | |
download | nixpkgs-acb7f9b0ce4f19cbc2104fc560b6503ae24867af.tar nixpkgs-acb7f9b0ce4f19cbc2104fc560b6503ae24867af.tar.gz nixpkgs-acb7f9b0ce4f19cbc2104fc560b6503ae24867af.tar.bz2 nixpkgs-acb7f9b0ce4f19cbc2104fc560b6503ae24867af.tar.lz nixpkgs-acb7f9b0ce4f19cbc2104fc560b6503ae24867af.tar.xz nixpkgs-acb7f9b0ce4f19cbc2104fc560b6503ae24867af.tar.zst nixpkgs-acb7f9b0ce4f19cbc2104fc560b6503ae24867af.zip |
hackrf: 2018.01.1 -> 2021.03.1
-rw-r--r-- | pkgs/applications/radio/hackrf/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/applications/radio/hackrf/default.nix b/pkgs/applications/radio/hackrf/default.nix index 98dce802c5c..a81227ddd46 100644 --- a/pkgs/applications/radio/hackrf/default.nix +++ b/pkgs/applications/radio/hackrf/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "hackrf"; - version = "2018.01.1"; + version = "2021.03.1"; src = fetchFromGitHub { - owner = "mossmann"; + owner = "greatscottgadgets"; repo = "hackrf"; rev = "v${version}"; - sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w"; + sha256 = "sha256-2kEfTco95I9YLz/18nfjJSd7U/HE5sBCEioWL2t804k="; }; nativeBuildInputs = [ @@ -27,6 +27,11 @@ stdenv.mkDerivation rec { 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; { description = "An open source SDR platform"; homepage = "https://greatscottgadgets.com/hackrf/"; |