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:
commit
97201d5b7a
1 changed files with 9 additions and 6 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue