depot/third_party/nixpkgs/pkgs/development/python-modules/pycycling/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
782 B
Nix

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