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