python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / garminconnect / default.nix
blob59203e1ef3623fc7d34e3da9982e5755ff8af7c8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   garth,
6   pdm-backend,
7   pythonOlder,
8   requests,
9   withings-sync,
12 buildPythonPackage rec {
13   pname = "garminconnect";
14   version = "0.2.23";
15   pyproject = true;
17   disabled = pythonOlder "3.10";
19   src = fetchFromGitHub {
20     owner = "cyberjunky";
21     repo = "python-garminconnect";
22     tag = version;
23     hash = "sha256-rY3jIrCl5y2Pyw7qakUuMtdPTR7e61n5pScPavvBtbM=";
24   };
26   build-system = [ pdm-backend ];
28   dependencies = [
29     garth
30     requests
31     withings-sync
32   ];
34   # Tests require a token
35   doCheck = false;
37   pythonImportsCheck = [ "garminconnect" ];
39   meta = with lib; {
40     description = "Garmin Connect Python API wrapper";
41     homepage = "https://github.com/cyberjunky/python-garminconnect";
42     changelog = "https://github.com/cyberjunky/python-garminconnect/releases/tag/${version}";
43     license = licenses.mit;
44     maintainers = with maintainers; [ fab ];
45   };