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