Merge pull request #162200 from r-ryantm/auto-update/python3.10-garages-amsterdam

python310Packages.garages-amsterdam: 3.2.1 -> 4.0.0
This commit is contained in:
Fabian Affolter 2022-02-28 19:41:41 +01:00 committed by GitHub
commit 97201d5b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,23 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, poetry-core
, aiohttp
, pythonOlder
}:
buildPythonPackage rec {
pname = "garages-amsterdam";
version = "3.2.1";
version = "4.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "klaasnicolaas";
repo = "garages_amsterdam";
rev = "v${version}";
sha256 = "16f2742r9p3mrg2nz8lnkgsxabbjga2qnp9vzq59026q6mmfwkm9";
sha256 = "sha256-3YSCf5sUnq2+Bt7LA30XeIMg4zsaPF3K5SVzGZ68SbY=";
};
postPatch = ''
@ -35,7 +36,9 @@ buildPythonPackage rec {
# The only test requires network access
doCheck = false;
pythonImportsCheck = [ "garages_amsterdam" ];
pythonImportsCheck = [
"garages_amsterdam"
];
meta = with lib; {
description = "Python client for getting garage occupancy in Amsterdam";