mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
pc-ble-driver: init at 4.1.1
It's a dependency of pc-ble-driver-py, but it's no longer built alongside it.
This commit is contained in:
parent
bfb7ac3d83
commit
e1a1b974ed
|
@ -3959,6 +3959,12 @@
|
|||
githubId = 4611077;
|
||||
name = "Raymond Gauthier";
|
||||
};
|
||||
jschievink = {
|
||||
email = "jonasschievink@gmail.com";
|
||||
github = "jonas-schievink";
|
||||
githubId = 1786438;
|
||||
name = "Jonas Schievink";
|
||||
};
|
||||
jtcoolen = {
|
||||
email = "jtcoolen@pm.me";
|
||||
name = "Julien Coolen";
|
||||
|
|
28
pkgs/development/libraries/pc-ble-driver/default.nix
Normal file
28
pkgs/development/libraries/pc-ble-driver/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, git, cmake, catch2, asio, udev }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pc-ble-driver";
|
||||
version = "4.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NordicSemiconductor";
|
||||
repo = "pc-ble-driver";
|
||||
rev = "v${version}";
|
||||
sha256 = "1llhkpbdbsq9d91m873vc96bprkgpb5wsm5fgs1qhzdikdhg077q";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DNRF_BLE_DRIVER_VERSION=${version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake git ];
|
||||
buildInputs = [ catch2 asio udev ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Desktop library for Bluetooth low energy development";
|
||||
homepage = "https://github.com/NordicSemiconductor/pc-ble-driver";
|
||||
license = licenses.unfreeRedistributable;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ jschievink ];
|
||||
};
|
||||
}
|
|
@ -21354,6 +21354,8 @@ in
|
|||
|
||||
partio = callPackage ../development/libraries/partio {};
|
||||
|
||||
pc-ble-driver = callPackage ../development/libraries/pc-ble-driver {};
|
||||
|
||||
pbis-open = callPackage ../tools/security/pbis { };
|
||||
|
||||
pcmanfm = callPackage ../applications/misc/pcmanfm { };
|
||||
|
|
Loading…
Reference in a new issue