python37Packages.rasterio: 1.0.22 -> 1.0.23 (#61915)
* python37Packages.rasterio: 1.0.22 -> 1.0.23 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 * python.pkgs.rasterio: fix check phase with Py27 by adding mock in checkInputs
This commit is contained in:
parent
731fdbef7c
commit
de9c022ba0
@ -1,22 +1,22 @@
|
|||||||
{ buildPythonPackage, lib, fetchFromGitHub
|
{ buildPythonPackage, lib, fetchFromGitHub, isPy3k
|
||||||
, cython
|
, cython
|
||||||
, numpy, affine, attrs, cligj, click-plugins, snuggs, gdal
|
, numpy, affine, attrs, cligj, click-plugins, snuggs, gdal
|
||||||
, pytest, pytestcov, packaging, hypothesis, boto3
|
, pytest, pytestcov, packaging, hypothesis, boto3, mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rasterio";
|
pname = "rasterio";
|
||||||
version = "1.0.22";
|
version = "1.0.23";
|
||||||
|
|
||||||
# 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 = "1gx48qjiahlwflmjlkndp3ricd03jmzfx7i9ffgq7a2i6gcm36zp";
|
sha256 = "1xypc86prwkv6ypy87g6r1p5y6d6c51vfxd3z6hjd1hv2ks7zjs1";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ boto3 pytest pytestcov packaging hypothesis ];
|
checkInputs = [ boto3 pytest pytestcov packaging hypothesis ] ++ lib.optional (!isPy3k) mock;
|
||||||
nativeBuildInputs = [ cython gdal ];
|
nativeBuildInputs = [ cython gdal ];
|
||||||
propagatedBuildInputs = [ gdal numpy attrs affine cligj click-plugins snuggs ];
|
propagatedBuildInputs = [ gdal numpy attrs affine cligj click-plugins snuggs ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user