python3Packages.rasterio: 1.2.6 → 1.2.10

This commit is contained in:
Nikolay Korotkiy 2022-03-29 15:42:56 +03:00
parent 481cc5f7db
commit 8d7ec2bd7e
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -1,23 +1,24 @@
{ buildPythonPackage, lib, fetchFromGitHub, isPy3k { buildPythonPackage, lib, fetchFromGitHub, isPy3k
, cython, setuptools , cython, setuptools
, numpy, affine, attrs, cligj, click-plugins, snuggs, gdal , numpy, affine, attrs, cligj, click-plugins, snuggs, gdal
, pytest, pytest-cov, packaging, hypothesis, boto3, mock , pytest, pythonOlder, packaging, hypothesis, boto3
, certifi, shapely , certifi, shapely
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "rasterio"; pname = "rasterio";
version = "1.2.6"; version = "1.2.10";
disabled = pythonOlder "3.6";
# Pypi doesn't ship the tests, so we fetch directly from GitHub # Pypi doesn't ship the tests, so we fetch directly from GitHub
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mapbox"; owner = "mapbox";
repo = "rasterio"; repo = "rasterio";
rev = version; rev = version;
sha256 = "sha256-rf2qdUhbS4Z2+mvlN1RzZvlgTgjqiBoQzry4z5QLSUc="; sha256 = "sha256-xVGwQfQvxsqYihUYXENJAz9Qp9xBkhsGc/RheRTJxgo=";
}; };
checkInputs = [ boto3 pytest pytest-cov packaging hypothesis shapely ] ++ lib.optional (!isPy3k) mock; checkInputs = [ boto3 pytest packaging hypothesis shapely ];
nativeBuildInputs = [ cython gdal ]; nativeBuildInputs = [ cython gdal ];
propagatedBuildInputs = [ certifi gdal numpy attrs affine cligj click-plugins snuggs setuptools ]; propagatedBuildInputs = [ certifi gdal numpy attrs affine cligj click-plugins snuggs setuptools ];