python310Packages.btsocket: init at 0.2.0
This commit is contained in:
parent
08c4e5c4da
commit
3bd2646e02
36
pkgs/development/python-modules/btsocket/default.nix
Normal file
36
pkgs/development/python-modules/btsocket/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user