mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #212076 from fabaff/aio-georss-client-fix
python311Packages.aio-geojson-client: remove asynctest
This commit is contained in:
commit
fde1b16589
@ -1,11 +1,12 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, aresponses
|
, aresponses
|
||||||
, asynctest
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, geojson
|
, geojson
|
||||||
, haversine
|
, haversine
|
||||||
|
, mock
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
@ -21,10 +22,19 @@ buildPythonPackage rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "exxamalte";
|
owner = "exxamalte";
|
||||||
repo = "python-aio-geojson-client";
|
repo = "python-aio-geojson-client";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-5GiQgtbvYeleovFbXO2vlr2XPsDIWZiElM64O+urMcY=";
|
hash = "sha256-5GiQgtbvYeleovFbXO2vlr2XPsDIWZiElM64O+urMcY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Remove asynctest, https://github.com/exxamalte/python-aio-geojson-client/pull/35
|
||||||
|
(fetchpatch {
|
||||||
|
name = "remove-asynctest.patch";
|
||||||
|
url = "https://github.com/exxamalte/python-aio-geojson-client/commit/bf617d9898a99b026b43b28bd87bb6479f518c0a.patch";
|
||||||
|
hash = "sha256-uomH3LCaklfGURDs8SsnvNyHkubbe+5dleLEjW+I+M4=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
geojson
|
geojson
|
||||||
@ -33,7 +43,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
aresponses
|
aresponses
|
||||||
asynctest
|
mock
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
@ -45,6 +55,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module for accessing GeoJSON feeds";
|
description = "Python module for accessing GeoJSON feeds";
|
||||||
homepage = "https://github.com/exxamalte/python-aio-geojson-client";
|
homepage = "https://github.com/exxamalte/python-aio-geojson-client";
|
||||||
|
changelog = "https://github.com/exxamalte/python-aio-geojson-client/blob/v${version}/CHANGELOG.md";
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
, aio-geojson-client
|
, aio-geojson-client
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, aresponses
|
, aresponses
|
||||||
, asynctest
|
, mock
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytz
|
, pytz
|
||||||
@ -21,10 +22,19 @@ buildPythonPackage rec {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "exxamalte";
|
owner = "exxamalte";
|
||||||
repo = "python-aio-geojson-geonetnz-volcano";
|
repo = "python-aio-geojson-geonetnz-volcano";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-2iVUHMk4ydmGmmGS6lJV5pvxJHyP9bRSeh/dOXbquE0=";
|
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 = [
|
propagatedBuildInputs = [
|
||||||
aio-geojson-client
|
aio-geojson-client
|
||||||
aiohttp
|
aiohttp
|
||||||
@ -33,7 +43,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
aresponses
|
aresponses
|
||||||
asynctest
|
mock
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
@ -45,6 +55,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds";
|
description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds";
|
||||||
homepage = "https://github.com/exxamalte/pythonaio-geojson-geonetnz-volcano";
|
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 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user