python311Packages.aio-geojson-geonetnz-volcano: remove asynctest
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
, aio-geojson-client
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, asynctest
|
||||
, mock
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
@@ -21,10 +22,19 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "exxamalte";
|
||||
repo = "python-aio-geojson-geonetnz-volcano";
|
||||
rev = "v${version}";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-2iVUHMk4ydmGmmGS6lJV5pvxJHyP9bRSeh/dOXbquE0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove asynctest, https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/pull/18
|
||||
(fetchpatch {
|
||||
name = "remove-asynctest.patch";
|
||||
url = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/commit/d04a488130375c78efa541fd63a5d88bd6b0fd49.patch";
|
||||
hash = "sha256-ArG8CovJckzzNebd03WeU5i/jPqy2HRVBL3ICk5nZ5Y=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aio-geojson-client
|
||||
aiohttp
|
||||
@@ -33,7 +43,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
asynctest
|
||||
mock
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
@@ -45,6 +55,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds";
|
||||
homepage = "https://github.com/exxamalte/pythonaio-geojson-geonetnz-volcano";
|
||||
changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/blob/v${version}/CHANGELOG.md";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user