python3Packages.garminconnect-aio: disable on older Python releases
This commit is contained in:
parent
08f41c95f2
commit
f1c1891678
1 changed files with 8 additions and 2 deletions
|
@ -3,18 +3,22 @@
|
|||
, brotlipy
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "garminconnect-aio";
|
||||
version = "0.1.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cyberjunky";
|
||||
repo = "python-garminconnect-aio";
|
||||
rev = version;
|
||||
sha256 = "0s2gpy5hciv9akqqhxy0d2ywp6jp9mmdngx34q7fq3xn668kcrhr";
|
||||
hash = "sha256-GWY2kTG2D+wOJqM/22pNV5rLvWjAd4jxVGlHBou/T2g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -26,7 +30,9 @@ buildPythonPackage rec {
|
|||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "garminconnect_aio" ];
|
||||
pythonImportsCheck = [
|
||||
"garminconnect_aio"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to interact with Garmin Connect";
|
||||
|
|
Loading…
Reference in a new issue