garmindb: relax garth and add pythonImportsCheck

This commit is contained in:
Fabian Affolter
2025-03-21 14:10:14 +01:00
parent 63515c7070
commit b9fd1e9e59
+13 -11
View File
@@ -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 ];