default.nix (738B)
1 { lib, fetchFromGitHub, python3Packages, pygnssutils }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "pygpsclient"; 5 version = "1.4.12"; 6 pyproject = true; 7 8 src = fetchFromGitHub { 9 owner = "semuconsulting"; 10 repo = "PyGPSClient"; 11 rev = "v${version}"; 12 hash = "sha256-/TOEI0l/FJx8yENxFhruKp+I4N+vDS80oGdTSrNdsDU="; 13 }; 14 15 nativeBuildInputs = with python3Packages; [ setuptools ]; 16 17 propagatedBuildInputs = with python3Packages; [ 18 requests 19 pillow 20 pygnssutils 21 pyserial 22 tkinter 23 ]; 24 25 meta = with lib; { 26 description = "GNSS Diagnostic and UBX Configuration GUI Application"; 27 inherit (src.meta) homepage; 28 license = licenses.bsd3; 29 maintainers = [ maintainers.sikmir ]; 30 }; 31 }