Merge pull request #123177 from fabaff/garages-amsterdam

This commit is contained in:
Sandro 2021-06-01 18:27:44 +02:00 committed by GitHub
commit 38e88107f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, aiohttp
}:
buildPythonPackage rec {
pname = "garages-amsterdam";
version = "2.1.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "klaasnicolaas";
repo = "garages_amsterdam";
rev = version;
sha256 = "1lg66g0im6v0m294j82229n2b7bhs6kkrp0d9nh87k2rz7zgllil";
};
propagatedBuildInputs = [
aiohttp
];
# The only test requires network access
doCheck = false;
pythonImportsCheck = [ "garages_amsterdam" ];
meta = with lib; {
description = "Python client for getting garage occupancy in Amsterdam";
homepage = "https://github.com/klaasnicolaas/garages_amsterdam";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2678,6 +2678,8 @@ in {
gast = callPackage ../development/python-modules/gast { };
garages-amsterdam = callPackage ../development/python-modules/garages-amsterdam { };
gcovr = callPackage ../development/python-modules/gcovr { };
gcsfs = callPackage ../development/python-modules/gcsfs { };