nur-packages

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

default.nix (884B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   cogdumper,
      6 }:
      7 
      8 python3Packages.buildPythonPackage rec {
      9   pname = "rio-cogeo";
     10   version = "5.3.6";
     11   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "cogeotiff";
     15     repo = "rio-cogeo";
     16     rev = version;
     17     hash = "sha256-P0TNH+iWmwJPE784sBLyMmmXpD08kppDlrZQbZHLiLs=";
     18   };
     19 
     20   build-system = with python3Packages; [ flit ];
     21 
     22   dependencies = with python3Packages; [
     23     click
     24     rasterio
     25     numpy
     26     morecantile
     27     pydantic
     28   ];
     29 
     30   pythonRelaxDeps = [ "morecantile" ];
     31 
     32   doCheck = false;
     33 
     34   nativeCheckInputs = with python3Packages; [
     35     pytestCheckHook
     36     cogdumper
     37   ];
     38 
     39   meta = {
     40     description = "Cloud Optimized GeoTIFF creation and validation plugin for rasterio";
     41     homepage = "https://github.com/cogeotiff/rio-cogeo";
     42     license = lib.licenses.bsd3;
     43     maintainers = [ lib.maintainers.sikmir ];
     44   };
     45 }