nur-packages

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

default.nix (1063B)


      1 { lib, stdenv, fetchFromGitHub, python3Packages, morecantile, supermorecado, rio-tiler }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "cogeo-mosaic";
      5   version = "7.1.0";
      6   pyproject = true;
      7 
      8   src = fetchFromGitHub {
      9     owner = "developmentseed";
     10     repo = "cogeo-mosaic";
     11     rev = version;
     12     hash = "sha256-FJJZvLGBEZpVyfXBqmz6r1obx4HrKmtK0dWusItX3j4=";
     13   };
     14 
     15   nativeBuildInputs = with python3Packages; [ hatchling hatch-fancy-pypi-readme ];
     16 
     17   propagatedBuildInputs = with python3Packages; [
     18     morecantile
     19     shapely
     20     pydantic
     21     pydantic-settings
     22     httpx
     23     rasterio
     24     rio-tiler
     25     supermorecado
     26     cachetools
     27   ];
     28 
     29   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     30 
     31   doCheck = false;
     32 
     33   disabledTests = [
     34     "test_mosaic_crud_error" # requires network access
     35     "test_abs_backend"
     36   ];
     37 
     38   meta = with lib; {
     39     description = "Create and use COG mosaic based on mosaicJSON";
     40     homepage = "https://developmentseed.org/cogeo-mosaic/";
     41     license = licenses.mit;
     42     maintainers = [ maintainers.sikmir ];
     43   };
     44 }