about summary refs log tree commit diff
path: root/pkgs/development/python-modules/garminconnect-aio/default.nix
blob: bb754118e0777b774621cd2f9638a3a15fb6c5b2 (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
36
37
{ lib
, aiohttp
, brotlipy
, buildPythonPackage
, fetchFromGitHub
, yarl
}:

buildPythonPackage rec {
  pname = "garminconnect-aio";
  version = "0.1.4";

  src = fetchFromGitHub {
    owner = "cyberjunky";
    repo = "python-garminconnect-aio";
    rev = version;
    sha256 = "0s2gpy5hciv9akqqhxy0d2ywp6jp9mmdngx34q7fq3xn668kcrhr";
  };

  propagatedBuildInputs = [
    aiohttp
    brotlipy
    yarl
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "garminconnect_aio" ];

  meta = with lib; {
    description = "Python module to interact with Garmin Connect";
    homepage = "https://github.com/cyberjunky/python-garminconnect-aio";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}