nur-packages

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

default.nix (716B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage (finalAttrs: {
      8   pname = "lat-lon-parser";
      9   version = "1.3.1";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "NOAA-ORR-ERD";
     14     repo = "lat_lon_parser";
     15     tag = "v${finalAttrs.version}";
     16     hash = "sha256-JO3s7C0aY2vX8QZI1UOzLaQI+VSdhUxiHHjqBxm1QW4=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools-scm ];
     20 
     21   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     22 
     23   meta = {
     24     description = "Simple parser for latitude-longitude strings";
     25     homepage = "https://github.com/NOAA-ORR-ERD/lat_lon_parser";
     26     license = lib.licenses.cc0;
     27     maintainers = [ lib.maintainers.sikmir ];
     28   };
     29 })