nixpkgs/pkgs/development/python-modules/garminconnect/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
799 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, cloudscraper
, fetchFromGitHub
, pythonOlder
, requests
}:
buildPythonPackage rec {
2022-02-06 01:45:40 +03:00
pname = "garminconnect";
version = "0.1.45";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "cyberjunky";
repo = "python-garminconnect";
rev = "refs/tags/${version}";
hash = "sha256-8ORot3ZEh+1cAV/Ec63ghBQFt4LyaH+rRsgzYA6wEdI=";
};
propagatedBuildInputs = [
cloudscraper
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
2022-02-06 01:45:40 +03:00
"garminconnect"
];
meta = with lib; {
2022-02-06 01:45:40 +03:00
description = "Garmin Connect Python API wrapper";
homepage = "https://github.com/cyberjunky/python-garminconnect";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}