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