package.nix (749B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "garmin-uploader"; 9 version = "1.0.9"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "La0"; 14 repo = "garmin-uploader"; 15 tag = version; 16 hash = "sha256-OHY4f+0jfxKXiwRJRdSarlb2H+lEt2EVoAAsD4aEc9o="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 requests 23 six 24 ]; 25 26 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 27 28 doCheck = false; 29 30 meta = { 31 description = "Garmin Connect Python Uploader"; 32 homepage = "https://github.com/La0/garmin-uploader"; 33 license = lib.licenses.gpl2; 34 maintainers = [ lib.maintainers.sikmir ]; 35 }; 36 }