python3Packages.btlewrap: init at 0.1.1
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
bluepy,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "btlewrap";
|
||||
version = "0.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ChristianKuehnel";
|
||||
repo = "btlewrap";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-cjPj+Uw/L9kq/BbxlnOCJtaBcnf9VOJKN2NJ3cmKe6U=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
optional-dependencies = {
|
||||
bluepy = [ bluepy ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Require optional dependencies or hardware
|
||||
"test/unit_tests/test_bluepy.py"
|
||||
"test/unit_tests/test_pygatt.py"
|
||||
"test/integration_tests/"
|
||||
"test/unit_tests/test_available_backends.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "btlewrap" ];
|
||||
|
||||
meta = {
|
||||
description = "Wrapper around different bluetooth low energy backends";
|
||||
homepage = "https://github.com/ChristianKuehnel/btlewrap";
|
||||
changelog = "https://github.com/ChristianKuehnel/btlewrap/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
}
|
||||
@@ -2168,6 +2168,8 @@ self: super: with self; {
|
||||
|
||||
bthomehub5-devicelist = callPackage ../development/python-modules/bthomehub5-devicelist { };
|
||||
|
||||
btlewrap = callPackage ../development/python-modules/btlewrap { };
|
||||
|
||||
btrees = callPackage ../development/python-modules/btrees { };
|
||||
|
||||
btrfs = callPackage ../development/python-modules/btrfs { };
|
||||
|
||||
Reference in New Issue
Block a user