python310Packages.btsocket: init at 0.2.0

This commit is contained in:
Fabian Affolter 2022-08-21 10:52:06 +02:00
parent 08c4e5c4da
commit 3bd2646e02
2 changed files with 38 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -1516,6 +1516,8 @@ in {
btrfsutil = toPythonModule (pkgs.btrfs-progs.override { python3 = self.python; });
btsocket = callPackage ../development/python-modules/btsocket { };
bucketstore = callPackage ../development/python-modules/bucketstore { };
bugsnag = callPackage ../development/python-modules/bugsnag { };