garmindb: relax garth and add pythonImportsCheck
This commit is contained in:
@@ -17,10 +17,18 @@ python3Packages.buildPythonApplication rec {
|
||||
hash = "sha256-JAUDAYf9CH/BxwV88ziF5Zy+3ibcbieEfHrZpHSU8m0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
python3Packages.setuptools
|
||||
pythonRelaxDeps = [
|
||||
"sqlalchemy"
|
||||
"cached-property"
|
||||
"garth"
|
||||
"tqdm"
|
||||
"fitfile"
|
||||
"tcxfile"
|
||||
"idbutils"
|
||||
];
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
sqlalchemy
|
||||
python-dateutil
|
||||
@@ -33,15 +41,6 @@ python3Packages.buildPythonApplication rec {
|
||||
tornado
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"sqlalchemy"
|
||||
"cached-property"
|
||||
"tqdm"
|
||||
"fitfile"
|
||||
"tcxfile"
|
||||
"idbutils"
|
||||
];
|
||||
|
||||
# require data files
|
||||
disabledTestPaths = [
|
||||
"test/test_activities_db.py"
|
||||
@@ -64,9 +63,12 @@ python3Packages.buildPythonApplication rec {
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "garmindb" ];
|
||||
|
||||
meta = {
|
||||
description = "Download and parse data from Garmin Connect or a Garmin watch";
|
||||
homepage = "https://github.com/tcgoetz/GarminDB";
|
||||
changelog = "https://github.com/tcgoetz/GarminDB/releases/tag/${src.tag}";
|
||||
license = lib.licenses.gpl2Only;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ ethancedwards8 ];
|
||||
|
||||
Reference in New Issue
Block a user