tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hackrf: 2015.07.2 -> 2017.02.1
Robin Gloster
8 years ago
500791cd
485a8fef
+7
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
hackrf
default.nix
+7
-7
pkgs/applications/misc/hackrf/default.nix
···
1
-
{ stdenv, fetchgit, cmake, pkgconfig, libusb }:
2
3
stdenv.mkDerivation rec {
4
name = "hackrf-${version}";
5
-
version = "2015.07.2";
6
7
src = fetchgit {
8
url = "git://github.com/mossmann/hackrf";
9
rev = "refs/tags/v${version}";
10
-
sha256 = "1mn11yz6hbkmvrbxj5vnp78m5dsny96821a9ffpvbdcwx3s2p23m";
11
};
12
13
buildInputs = [
14
-
cmake pkgconfig libusb
15
];
16
-
17
preConfigure = ''
18
-
cd host
19
'';
20
-
21
meta = with stdenv.lib; {
22
description = "An open source SDR platform";
23
homepage = http://greatscottgadgets.com/hackrf/;
···
1
+
{ stdenv, fetchgit, cmake, pkgconfig, libusb, fftwSinglePrec }:
2
3
stdenv.mkDerivation rec {
4
name = "hackrf-${version}";
5
+
version = "2017.02.1";
6
7
src = fetchgit {
8
url = "git://github.com/mossmann/hackrf";
9
rev = "refs/tags/v${version}";
10
+
sha256 = "16hd61icvzaciv7s9jpgm9c8q6m4mwvj97gxrb20sc65p5gjb7hv";
11
};
12
13
buildInputs = [
14
+
cmake pkgconfig libusb fftwSinglePrec
15
];
16
+
17
preConfigure = ''
18
+
cd host
19
'';
20
+
21
meta = with stdenv.lib; {
22
description = "An open source SDR platform";
23
homepage = http://greatscottgadgets.com/hackrf/;