{ lib, python3, fetchFromGitea, }: python3.pkgs.buildPythonPackage rec { pname = "huami-token"; version = "0.8.0-unstable"; pyproject = true; src = fetchFromGitea { domain = "codeberg.org"; owner = "argrento"; repo = "huami-token"; rev = "1b32658519d1f35cd3c4345bb9ced3ba6881bb56"; hash = "sha256-uDAwcaWdFxVwMw6/GAwYmiC2u8ogjpOo/b6p6/6ijKU="; }; build-system = with python3.pkgs; [ hatchling ]; dependencies = with python3.pkgs; [ loguru pycryptodome requests ]; meta = { description = "Script to obtain watch or band bluetooth token from Zepp servers"; homepage = "https://codeberg.org/argrento/huami-token"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ encode42 ]; }; }