tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hackrf: 2018.01.1 -> 2021.03.1
polygon
4 years ago
acb7f9b0
5ba6178d
+8
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
radio
hackrf
default.nix
+8
-3
pkgs/applications/radio/hackrf/default.nix
···
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "hackrf";
5
5
-
version = "2018.01.1";
5
5
+
version = "2021.03.1";
6
6
7
7
src = fetchFromGitHub {
8
8
-
owner = "mossmann";
8
8
+
owner = "greatscottgadgets";
9
9
repo = "hackrf";
10
10
rev = "v${version}";
11
11
-
sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w";
11
11
+
sha256 = "sha256-2kEfTco95I9YLz/18nfjJSd7U/HE5sBCEioWL2t804k=";
12
12
};
13
13
14
14
nativeBuildInputs = [
···
25
25
26
26
preConfigure = ''
27
27
cd host
28
28
+
'';
29
29
+
30
30
+
postPatch = ''
31
31
+
substituteInPlace host/cmake/modules/FindFFTW.cmake \
32
32
+
--replace "find_library (FFTW_LIBRARIES NAMES fftw3)" "find_library (FFTW_LIBRARIES NAMES fftw3f)"
28
33
'';
29
34
30
35
meta = with lib; {