2021-04-02 13:37:43 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake }:
|
2020-05-13 15:00:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libbtbb";
|
2021-01-08 10:27:30 +00:00
|
|
|
version = "2020-12-R1";
|
2020-05-13 15:00:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "greatscottgadgets";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-01-08 10:27:30 +00:00
|
|
|
sha256 = "1byv8174xam7siakr1p0523x97wkh0fmwmq341sd3g70qr2g767d";
|
2020-05-13 15:00:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-04-02 13:37:43 +00:00
|
|
|
meta = with lib; {
|
2020-05-13 15:00:56 +00:00
|
|
|
description = "Bluetooth baseband decoding library";
|
|
|
|
homepage = "https://github.com/greatscottgadgets/libbtbb";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ oxzi ];
|
|
|
|
};
|
|
|
|
}
|