python3Packages.bluezero: init at 0.9.1
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pygobject3,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bluezero";
|
||||
version = "0.9.1";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ukBaz";
|
||||
repo = "python-bluezero";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-H5760bPdA7NECiOWI7fLCxW3K7+c2L0Y3sa/E/krJJw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pygobject3
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "pygobject" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bluezero"
|
||||
];
|
||||
|
||||
# Most of the tests are failing due to a missing working dbus instance and bluetooth devices
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "A simple Python interface to Bluez";
|
||||
homepage = "https://github.com/ukBaz/python-bluezero";
|
||||
changelog = "https://github.com/ukBaz/python-bluezero/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
};
|
||||
})
|
||||
@@ -2212,6 +2212,8 @@ self: super: with self; {
|
||||
callPackage ../development/python-modules/bluetooth-sensor-state-data
|
||||
{ };
|
||||
|
||||
bluezero = callPackage ../development/python-modules/bluezero { };
|
||||
|
||||
blurhash = callPackage ../development/python-modules/blurhash { };
|
||||
|
||||
blurhash-python = callPackage ../development/python-modules/blurhash-python { };
|
||||
|
||||
Reference in New Issue
Block a user