nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

package.nix (758B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   pyrtcm,
      6 }:
      7 
      8 python3Packages.buildPythonPackage rec {
      9   pname = "pyqgc";
     10   version = "0.1.2";
     11   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "semuconsulting";
     15     repo = "pyqgc";
     16     tag = "v${version}";
     17     hash = "sha256-n8D5dYbpygaVr397MdT6qeAl2bL61rvw0kpZ/Z5PohU=";
     18   };
     19 
     20   build-system = with python3Packages; [ setuptools ];
     21 
     22   dependencies = with python3Packages; [
     23     pynmeagps
     24     pyrtcm
     25   ];
     26 
     27   pythonImportsCheck = [ "pyqgc" ];
     28 
     29   meta = {
     30     description = "Python library for parsing and generating Quectel QGC GPS/GNSS protocol messages";
     31     homepage = "https://github.com/semuconsulting/pyqgc";
     32     license = lib.licenses.bsd3;
     33     maintainers = [ lib.maintainers.sikmir ];
     34   };
     35 }