python3Packages.rio-tiler: init at 6.6.1
This commit is contained in:
parent
05233494a5
commit
0262b1e06e
65
pkgs/development/python-modules/rio-tiler/default.nix
Normal file
65
pkgs/development/python-modules/rio-tiler/default.nix
Normal file
@ -0,0 +1,65 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
|
||||
attrs,
|
||||
boto3,
|
||||
cachetools,
|
||||
color-operations,
|
||||
hatchling,
|
||||
httpx,
|
||||
morecantile,
|
||||
numexpr,
|
||||
numpy,
|
||||
pydantic,
|
||||
pystac,
|
||||
rasterio,
|
||||
rioxarray,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rio-tiler";
|
||||
version = "6.6.1";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cogeotiff";
|
||||
repo = "rio-tiler";
|
||||
rev = version;
|
||||
hash = "sha256-MR6kyoGM3uXt6JiIEfGcsmTmxqlLxUF9Wn+CFuK5LtQ=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
cachetools
|
||||
color-operations
|
||||
httpx
|
||||
morecantile
|
||||
numexpr
|
||||
numpy
|
||||
pydantic
|
||||
pystac
|
||||
rasterio
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
boto3
|
||||
pytestCheckHook
|
||||
rioxarray
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "rio_tiler" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "User friendly Rasterio plugin to read raster datasets";
|
||||
homepage = "https://cogeotiff.github.io/rio-tiler/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = lib.teams.geospatial.members;
|
||||
};
|
||||
}
|
@ -13289,6 +13289,8 @@ self: super: with self; {
|
||||
|
||||
ring-doorbell = callPackage ../development/python-modules/ring-doorbell { };
|
||||
|
||||
rio-tiler = callPackage ../development/python-modules/rio-tiler { };
|
||||
|
||||
rioxarray = callPackage ../development/python-modules/rioxarray { };
|
||||
|
||||
ripe-atlas-cousteau = callPackage ../development/python-modules/ripe-atlas-cousteau { };
|
||||
|
Loading…
Reference in New Issue
Block a user