Unverified Commit 71b10d48 authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by GitHub
Browse files

Merge pull request #318418 from viraptor/pycycling-init

python311Packages.pycycling: init at 0.4.0
parents 9520d069 080f0ef9
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };