diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-21 10:52:06 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-21 10:52:06 +0200 |
commit | 3bd2646e02a25f0585fa25a28bb108e2f1f58a21 (patch) | |
tree | 8673ec6ddc45d7f41df128cfc11f59e75e527683 /pkgs/development/python-modules/btsocket | |
parent | 08c4e5c4dabc806383a7e99ea937470379ebb0eb (diff) |
python310Packages.btsocket: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/btsocket')
-rw-r--r-- | pkgs/development/python-modules/btsocket/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/btsocket/default.nix b/pkgs/development/python-modules/btsocket/default.nix new file mode 100644 index 0000000000000..560707ce1cbe7 --- /dev/null +++ b/pkgs/development/python-modules/btsocket/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "btsocket"; + version = "0.2.0"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "ukBaz"; + repo = "python-btsocket"; + rev = "v${version}"; + hash = "sha256-IqlbFYbEyJPlcmT3DIQIwsjQEAGeIGRtFNx4jWwNtjE="; + }; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "btsocket" + ]; + + meta = with lib; { + description = "Library to interact with the Bluez Bluetooth Management API"; + homepage = "https://github.com/ukBaz/python-btsocket"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |