python3Packages.rasterio: 1.3.6 -> 1.3.7

This commit is contained in:
Ivan Mincik 2023-05-23 14:31:39 +02:00
parent e89ce05027
commit c5ac5b5ab7

View file

@ -26,7 +26,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rasterio"; pname = "rasterio";
version = "1.3.6"; version = "1.3.7";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "rasterio"; owner = "rasterio";
repo = "rasterio"; repo = "rasterio";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-C5jenXcONNYiUNa5GQ7ATBi8m0JWvg8Dyp9+ejGX+Fs="; hash = "sha256-6AtGRXGuAXMrePqS2lmNdOuPZi6LHuiWP2LJyxH3L3M=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -90,7 +90,10 @@ buildPythonPackage rec {
doInstallCheck = true; doInstallCheck = true;
installCheckPhase = '' installCheckPhase = ''
$out/bin/rio --version | grep ${version} > /dev/null $out/bin/rio --show-versions | grep -E "rasterio:\s${version}" > /dev/null
$out/bin/rio --show-versions | grep -E "GDAL:\s[0-9]+(\.[0-9]+)*" > /dev/null
$out/bin/rio --show-versions | grep -E "PROJ:\s[0-9]+(\.[0-9]+)*" > /dev/null
$out/bin/rio --show-versions | grep -E "GEOS:\s[0-9]+(\.[0-9]+)*" > /dev/null
''; '';
meta = with lib; { meta = with lib; {