Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, boost, buildPythonPackage, cmake, cryptography, fetchFromGitHub, git, pc-ble-driver, pythonAtLeast, pythonOlder, scikit-build, setuptools, swig, wrapt}:
buildPythonPackage rec { pname = "pc-ble-driver-py"; version = "0.17.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "NordicSemiconductor"; repo = "pc-ble-driver-py"; rev = "refs/tags/v${version}"; hash = "sha256-brC33ar2Jq3R2xdrklvVsQKf6pcnKwD25PO4TIvXgTg="; };
nativeBuildInputs = [ cmake swig git setuptools scikit-build ];
buildInputs = [ boost pc-ble-driver ];
propagatedBuildInputs = [ cryptography wrapt ];
dontUseCmakeConfigure = true;
# doCheck tries to write to the global python directory to install things doCheck = false;
pythonImportsCheck = [ "pc_ble_driver_py" ];
meta = with lib; { description = "Bluetooth Low Energy nRF5 SoftDevice serialization"; homepage = "https://github.com/NordicSemiconductor/pc-ble-driver-py"; changelog = "https://github.com/NordicSemiconductor/pc-ble-driver-py/releases/tag/v${version}"; license = licenses.unfreeRedistributable; maintainers = with maintainers; [ gebner ]; platforms = platforms.unix; };}