15 buildPythonPackage rec {
18 format = "setuptools";
21 inherit pname version;
22 hash = "sha256-gNEI6P6GslNd1DzFwCFndVIfUvSTPYollGdqkZhQ4Y8=";
36 # remove vendored nlohmann_json
37 rm MetaWear-SDK-Cpp/src/metawear/dfu/cpp/json.hpp
38 substituteInPlace MetaWear-SDK-Cpp/src/metawear/dfu/cpp/file_operations.cpp \
39 --replace '#include "json.hpp"' '#include <nlohmann/json.hpp>'
42 propagatedBuildInputs = [
48 enableParallelBuilding = true;
50 pythonImportsCheck = [ "mbientlab" "mbientlab.metawear" ];
53 description = "Python bindings for the MetaWear C++ SDK by MbientLab";
54 homepage = "https://github.com/mbientlab/metawear-sdk-python";
55 license = with licenses; [ unfree ];
56 maintainers = with maintainers; [ stepbrobd ];
57 platforms = platforms.linux;