blob: c88af9b230e1e71667be34207147a7297c8e1c5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, buildPythonPackage
, cloudscraper
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "garminconnect-ha";
version = "0.1.13";
src = fetchFromGitHub {
owner = "cyberjunky";
repo = "python-garminconnect-ha";
rev = version;
sha256 = "sha256-1O1EcG5FvpwUvI8rwcdlQLzEEStyFAwvmkaL97u6hZ4=";
};
propagatedBuildInputs = [
cloudscraper
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "garminconnect_ha" ];
meta = with lib; {
description = "Minimal Garmin Connect Python 3 API wrapper for Home Assistant";
homepage = "https://github.com/cyberjunky/python-garminconnect-ha";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|