diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-16 22:49:45 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-16 22:49:45 +0200 |
commit | f905e9f20340e25ae78b393e51079a2b5de7a95e (patch) | |
tree | b9faa3b0a3e1ccda2ffc7798a74c745deab5638b /pkgs/development | |
parent | b084a0d2649aed96117a21ef0424301b8e83801c (diff) |
python3Packages.aio-geojson-generic-client: init at 0.1
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/aio-geojson-generic-client/default.nix | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aio-geojson-generic-client/default.nix b/pkgs/development/python-modules/aio-geojson-generic-client/default.nix new file mode 100644 index 0000000000000..df13e8d7519a1 --- /dev/null +++ b/pkgs/development/python-modules/aio-geojson-generic-client/default.nix @@ -0,0 +1,51 @@ +{ lib +, aiohttp +, aresponses +, asynctest +, buildPythonPackage +, aio-geojson-client +, fetchFromGitHub +, pytest-asyncio +, pytestCheckHook +, pythonOlder +, pytz +}: + +buildPythonPackage rec { + pname = "aio-geojson-generic-client"; + version = "0.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "exxamalte"; + repo = "python-aio-geojson-generic-client"; + rev = "v${version}"; + hash = "sha256-6Gc3SRRQiISBZnCg7a+rCQHR4NQipBHmG5gWZZXIsxY="; + }; + + propagatedBuildInputs = [ + aiohttp + aio-geojson-client + pytz + ]; + + checkInputs = [ + aresponses + asynctest + pytest-asyncio + pytestCheckHook + ]; + + pythonImportsCheck = [ + "aio_geojson_generic_client" + ]; + + meta = with lib; { + description = "Python library for accessing GeoJSON feeds"; + homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} |