ubertooth: init at 2018-12-R1
This commit is contained in:
parent
0458e69021
commit
623c10ac79
32
pkgs/applications/radio/ubertooth/default.nix
Normal file
32
pkgs/applications/radio/ubertooth/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, libbtbb, libpcap , libusb1, bluez }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "ubertooth";
|
||||||
|
version = "2018-12-R1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "greatscottgadgets";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1da5fsjwc5szclq6h5wznvgwikd1qqv8gbmv38h0fpc12lwn85c4";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = "source/host";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
buildInputs = [ libbtbb libpcap libusb1 bluez ];
|
||||||
|
|
||||||
|
cmakeFlags = lib.optionals stdenv.isLinux [
|
||||||
|
"-DINSTALL_UDEV_RULES=TRUE"
|
||||||
|
"-DUDEV_RULES_PATH=etc/udev/rules.d"
|
||||||
|
"-DUDEV_RULES_GROUP=ubertooth"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Open source wireless development platform suitable for Bluetooth experimentation";
|
||||||
|
homepage = "https://github.com/greatscottgadgets/ubertooth";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ oxzi ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -8092,6 +8092,8 @@ in
|
||||||
|
|
||||||
ubridge = callPackage ../tools/networking/ubridge { };
|
ubridge = callPackage ../tools/networking/ubridge { };
|
||||||
|
|
||||||
|
ubertooth = callPackage ../applications/radio/ubertooth { };
|
||||||
|
|
||||||
ucl = callPackage ../development/libraries/ucl { };
|
ucl = callPackage ../development/libraries/ucl { };
|
||||||
|
|
||||||
ucspi-tcp = callPackage ../tools/networking/ucspi-tcp { };
|
ucspi-tcp = callPackage ../tools/networking/ucspi-tcp { };
|
||||||
|
|
Loading…
Reference in a new issue