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