ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / garminconnect / default.nix
blobec80ad6ba23059b1935bcf6f77112e9fed0ac619
1 { lib
2 , buildPythonPackage
3 , cloudscraper
4 , fetchFromGitHub
5 , pythonOlder
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "garminconnect";
11   version = "0.1.48";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "cyberjunky";
18     repo = "python-garminconnect";
19     rev = "refs/tags/${version}";
20     hash = "sha256-3HcwIcuZvHZS7eEIIw2wfley/Tdwt8S9HarrJMVYVVw=";
21   };
23   propagatedBuildInputs = [
24     cloudscraper
25     requests
26   ];
28   # Module has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "garminconnect"
33   ];
35   meta = with lib; {
36     description = "Garmin Connect Python API wrapper";
37     homepage = "https://github.com/cyberjunky/python-garminconnect";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };