hackrf: 2018.01.1 -> 2021.03.1

polygon acb7f9b0 5ba6178d

+8 -3
+8 -3
pkgs/applications/radio/hackrf/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hackrf"; 5 - version = "2018.01.1"; 5 + version = "2021.03.1"; 6 6 7 7 src = fetchFromGitHub { 8 - owner = "mossmann"; 8 + owner = "greatscottgadgets"; 9 9 repo = "hackrf"; 10 10 rev = "v${version}"; 11 - sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w"; 11 + sha256 = "sha256-2kEfTco95I9YLz/18nfjJSd7U/HE5sBCEioWL2t804k="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ ··· 25 25 26 26 preConfigure = '' 27 27 cd host 28 + ''; 29 + 30 + postPatch = '' 31 + substituteInPlace host/cmake/modules/FindFFTW.cmake \ 32 + --replace "find_library (FFTW_LIBRARIES NAMES fftw3)" "find_library (FFTW_LIBRARIES NAMES fftw3f)" 28 33 ''; 29 34 30 35 meta = with lib; {