parent
39d1108b80
commit
46aedcafb3
@ -0,0 +1,29 @@ |
||||
{ buildPythonPackage, lib, fetchFromGitHub |
||||
, cython |
||||
, numpy, affine, attrs, cligj, click-plugins, snuggs, gdal |
||||
, pytest, pytestcov, packaging, hypothesis, boto3 |
||||
}: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "rasterio"; |
||||
version = "1.0.10"; |
||||
|
||||
# Pypi doesn't ship the tests, so we fetch directly from GitHub |
||||
src = fetchFromGitHub { |
||||
owner = "mapbox"; |
||||
repo = "rasterio"; |
||||
rev = version; |
||||
sha256 = "0gnck9y3n31nnazlrw54swab8wql9qjx5r5x9r7hrmzy72xlzjqq"; |
||||
}; |
||||
|
||||
checkInputs = [ boto3 pytest pytestcov packaging hypothesis ]; |
||||
buildInputs = [ cython ]; |
||||
propagatedBuildInputs = [ gdal numpy attrs affine cligj click-plugins snuggs ]; |
||||
|
||||
meta = with lib; { |
||||
description = "Python package to read and write geospatial raster data"; |
||||
license = licenses.bsd3; |
||||
homepage = https://rasterio.readthedocs.io/en/latest/; |
||||
maintainers = with maintainers; [ mredaelli ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue