mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
8dda7e9215
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-rasterio/versions
30 lines
886 B
Nix
30 lines
886 B
Nix
{ buildPythonPackage, lib, fetchFromGitHub
|
|
, cython
|
|
, numpy, affine, attrs, cligj, click-plugins, snuggs, gdal
|
|
, pytest, pytestcov, packaging, hypothesis, boto3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rasterio";
|
|
version = "1.0.15";
|
|
|
|
# Pypi doesn't ship the tests, so we fetch directly from GitHub
|
|
src = fetchFromGitHub {
|
|
owner = "mapbox";
|
|
repo = "rasterio";
|
|
rev = version;
|
|
sha256 = "0waxkqdkaxxmqnkpj397niq193l2bg8s9isal4c7q12jbm6mf7f7";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|