diff --git a/pkgs/development/python-modules/warble/default.nix b/pkgs/development/python-modules/warble/default.nix new file mode 100644 index 000000000000..c2c930d0f0a5 --- /dev/null +++ b/pkgs/development/python-modules/warble/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchPypi +, cython +, boost +, bluez +}: + +buildPythonPackage rec { + pname = "warble"; + version = "1.2.9"; + format = "setuptools"; + + enableParallelBuilding = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-oezcRD1AddWmDYDxueE0EwK0+UN/EZ5GQxwkdCz4xoY="; + }; + + nativeBuildInputs = [ + cython + ]; + + buildInputs = [ + boost + bluez + ]; + + pythonImportsCheck = [ "mbientlab" "mbientlab.warble" ]; + + meta = with lib; { + description = "Python bindings for MbientLab's Warble library"; + homepage = "https://github.com/mbientlab/pywarble"; + license = with licenses; [ unfree ]; + maintainers = with maintainers; [ stepbrobd ]; + platforms = [ "aarch64-linux" "x86_64-linux" ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4c260b693c24..a979e5af88f9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12988,6 +12988,8 @@ self: super: with self; { wandb = callPackage ../development/python-modules/wandb { }; + warble = callPackage ../development/python-modules/warble { }; + warcio = callPackage ../development/python-modules/warcio { }; ward = callPackage ../development/python-modules/ward { };