1
0
Fork 1
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:
Jonas Schievink 2020-07-13 13:49:22 +02:00 committed by Jonas Schievink
parent bfb7ac3d83
commit e1a1b974ed
3 changed files with 36 additions and 0 deletions

View file

@ -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";

View 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 ];
};
}

View file

@ -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 { };