My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/garminconnect/default.nix

41 lines
799 B

{ lib
, buildPythonPackage
, cloudscraper
, fetchFromGitHub
, pythonOlder
, requests
}:
buildPythonPackage rec {
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 = [
"garminconnect"
];
meta = with lib; {
description = "Garmin Connect Python API wrapper";
homepage = "https://github.com/cyberjunky/python-garminconnect";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}