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