package.nix (968B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 supermercado, 6 }: 7 8 python3Packages.buildPythonApplication rec { 9 pname = "rio-mbtiles"; 10 version = "1.6.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "mapbox"; 15 repo = "rio-mbtiles"; 16 tag = version; 17 hash = "sha256-Kje443Qqs8+Jcv3PnTrMncaoaGDdjrzTcd42NYIenuU="; 18 }; 19 20 build-system = with python3Packages; [ setuptools ]; 21 22 dependencies = with python3Packages; [ 23 click 24 cligj 25 mercantile 26 numpy 27 supermercado 28 tqdm 29 shapely 30 ]; 31 32 pythonRelaxDeps = true; 33 34 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 35 36 disabledTests = [ 37 "test_process_tile" 38 "test_export_count" 39 ]; 40 41 meta = { 42 description = "A plugin command for the Rasterio CLI that exports a raster dataset to an MBTiles 1.1 SQLite file"; 43 homepage = "https://github.com/mapbox/rio-mbtiles"; 44 license = lib.licenses.mit; 45 maintainers = [ lib.maintainers.sikmir ]; 46 }; 47 }