Diff: https://github.com/cyberjunky/python-garminconnect/compare/refs/tags/0.1.54...0.1.55 Changelog: https://github.com/cyberjunky/python-garminconnect/releases/tag/0.1.55
43 lines
893 B
Nix
43 lines
893 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cloudscraper
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "garminconnect";
|
|
version = "0.1.55";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cyberjunky";
|
|
repo = "python-garminconnect";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-YPLlrlV8UyoaNtE+LgX7jpZkR7jbSe/2WRR0v0cfACY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cloudscraper
|
|
requests
|
|
];
|
|
|
|
# Module has no tests
|
|
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/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|