Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, garth, pdm-backend, pythonOlder, requests, withings-sync,}:
buildPythonPackage rec { pname = "garminconnect"; version = "0.2.28"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "cyberjunky"; repo = "python-garminconnect"; tag = version; hash = "sha256-dx1MqsZRDjz0U8RU2idW5GiJBQaSyXPxnEDPk0XkLCI="; };
pythonRelaxDeps = [ "garth" "withings-sync" ];
build-system = [ pdm-backend ];
dependencies = [ garth requests withings-sync ];
# Tests require a token doCheck = false;
pythonImportsCheck = [ "garminconnect" ];
meta = with lib; { description = "Garmin Connect Python API wrapper"; homepage = "https://github.com/cyberjunky/python-garminconnect"; changelog = "https://github.com/cyberjunky/python-garminconnect/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}