package.nix (849B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 pyqgc, 6 pysbf2, 7 pyspartn, 8 pyubx2, 9 pyubxutils, 10 }: 11 12 python3Packages.buildPythonPackage rec { 13 pname = "pygnssutils"; 14 version = "1.1.20"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "semuconsulting"; 19 repo = "pygnssutils"; 20 tag = "v${version}"; 21 hash = "sha256-Slg9vo4EJkRupAK1uD78/oQTT1cI6slFwT3TqHLeI3U="; 22 }; 23 24 build-system = with python3Packages; [ setuptools ]; 25 26 dependencies = with python3Packages; [ 27 certifi 28 paho-mqtt 29 pyqgc 30 pysbf2 31 pyserial 32 pyspartn 33 pyubx2 34 pyubxutils 35 ]; 36 37 pythonImportsCheck = [ "pygnssutils" ]; 38 39 meta = { 40 description = "GNSS Command Line Utilities"; 41 homepage = "https://github.com/semuconsulting/pygnssutils"; 42 license = lib.licenses.bsd3; 43 maintainers = [ lib.maintainers.sikmir ]; 44 }; 45 }
