nur-packages

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

default.nix (865B)


      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 
     12   src = fetchFromGitHub {
     13     owner = "mapbox";
     14     repo = "rio-mbtiles";
     15     rev = version;
     16     hash = "sha256-Kje443Qqs8+Jcv3PnTrMncaoaGDdjrzTcd42NYIenuU=";
     17   };
     18 
     19   dependencies = with python3Packages; [
     20     click
     21     cligj
     22     mercantile
     23     numpy
     24     supermercado
     25     tqdm
     26     shapely
     27   ];
     28 
     29   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     30 
     31   disabledTests = [
     32     "test_process_tile"
     33     "test_export_count"
     34   ];
     35 
     36   meta = {
     37     description = "A plugin command for the Rasterio CLI that exports a raster dataset to an MBTiles 1.1 SQLite file";
     38     homepage = "https://github.com/mapbox/rio-mbtiles";
     39     license = lib.licenses.mit;
     40     maintainers = [ lib.maintainers.sikmir ];
     41   };
     42 }