default.nix (716B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 pyrtcm, 6 }: 7 8 python3Packages.buildPythonPackage rec { 9 pname = "pyubx2"; 10 version = "1.2.48"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "semuconsulting"; 15 repo = "pyubx2"; 16 rev = "v${version}"; 17 hash = "sha256-o4OkXMBo0lE+cL/l/ib6EXLEr4n/T/1YwdbxJ5zbufs="; 18 }; 19 20 build-system = with python3Packages; [ setuptools ]; 21 22 dependencies = with python3Packages; [ 23 pynmeagps 24 pyrtcm 25 ]; 26 27 pythonImportsCheck = [ "pyubx2" ]; 28 29 meta = { 30 description = "UBX protocol parser and generator"; 31 homepage = "https://github.com/semuconsulting/pyubx2"; 32 license = lib.licenses.bsd3; 33 maintainers = [ lib.maintainers.sikmir ]; 34 }; 35 }