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