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