nur-packages

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

default.nix (618B)


      1 { lib, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "pynmeagps";
      5   version = "1.0.33";
      6   pyproject = true;
      7 
      8   src = fetchFromGitHub {
      9     owner = "semuconsulting";
     10     repo = "pynmeagps";
     11     rev = "v${version}";
     12     hash = "sha256-94VS7f9DB42WAk6wg0qplJP8IbLcmljcx/YNm4/6f/k=";
     13   };
     14 
     15   nativeBuildInputs = with python3Packages; [ setuptools ];
     16 
     17   pythonImportsCheck = [ "pynmeagps" ];
     18 
     19   meta = with lib; {
     20     description = "NMEA protocol parser and generator";
     21     inherit (src.meta) homepage;
     22     license = licenses.bsd3;
     23     maintainers = [ maintainers.sikmir ];
     24   };
     25 }