Fabian Affolter 2024-01-29 09:22:17 +01:00
parent 45fad8902f
commit f562ab1814

View file

@ -1,29 +1,34 @@
{ lib { lib
, aio-geojson-client , aio-geojson-client
, aiohttp , aiohttp
, aresponses , aioresponses
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytest-asyncio , pytest-asyncio
, pytestCheckHook , pytestCheckHook
, pytz , pytz
, pythonOlder , pythonOlder
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aio-geojson-usgs-earthquakes"; pname = "aio-geojson-usgs-earthquakes";
version = "0.2"; version = "0.3";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "exxamalte"; owner = "exxamalte";
repo = "python-aio-geojson-usgs-earthquakes"; repo = "python-aio-geojson-usgs-earthquakes";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-ET8wcOep4tSZJXyL+XvfW2j9eKp6LrBk/g18ZlgLIzc="; hash = "sha256-Q9vBy5R5N5ihJdSMALo88qVYcFVs2/33lYRPdLej4S8=";
}; };
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aio-geojson-client aio-geojson-client
aiohttp aiohttp
@ -37,7 +42,7 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
aresponses aioresponses
pytest-asyncio pytest-asyncio
]; ];