Merge pull request #318418 from viraptor/pycycling-init

python311Packages.pycycling: init at 0.4.0
This commit is contained in:
Stanisław Pitucha 2024-06-10 20:47:35 +10:00 committed by GitHub
commit 71b10d4826
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
bleak,
}:
buildPythonPackage rec {
pname = "pycycling";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-yi3ZcyhhOtHp46MK0R15/dic+b1oYjy4tFVRH3ssbE8=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
bleak
];
pythonImportsCheck = [ pname ];
meta = with lib; {
description = "Package for interacting with Bluetooth Low Energy (BLE) compatible bike trainers, power meters, radars and heart rate monitors";
homepage = "https://github.com/zacharyedwardbull/pycycling";
changelog = "https://github.com/zacharyedwardbull/pycycling/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ viraptor ];
};
}

View File

@ -9987,6 +9987,8 @@ self: super: with self; {
pycrdt-websocket = callPackage ../development/python-modules/pycrdt-websocket { };
pycycling = callPackage ../development/python-modules/pycycling { };
pyfibaro = callPackage ../development/python-modules/pyfibaro { };
pyfireservicerota = callPackage ../development/python-modules/pyfireservicerota { };