Merge pull request #320641 from mweinelt/pyopenweathermap-0.0.10

python312Packages.pyopenweathermap: 0.0.9 -> 0.0.10
This commit is contained in:
Martin Weinelt 2024-06-18 02:00:58 +02:00 committed by GitHub
commit 536c64b528
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
# build-system
poetry-core,
@ -17,26 +16,17 @@
buildPythonPackage rec {
pname = "pyopenweathermap";
version = "0.0.9";
version = "0.0.10";
pyproject = true;
src = fetchFromGitHub {
owner = "freekode";
repo = "pyopenweathermap";
# https://github.com/freekode/pyopenweathermap/issues/2
rev = "f8541960571591f47d74268d400dfd0d6c9adf67";
hash = "sha256-hQotoRbTbcsDTwZ3/A4HkWi2ma3b9L0vvwH9ej8k1eE=";
rev = "refs/tags/v${version}";
hash = "sha256-wEcE4IYVvxEwW5Hhz+DqDIqbjd5/O1hEr7dGgiuMI00=";
};
patches = [
(fetchpatch2 {
# https://github.com/freekode/pyopenweathermap/pull/3
name = "pytest-network-mark.patch";
url = "https://github.com/freekode/pyopenweathermap/commit/580ce4317fdffb267fc9122c3c2f8355f1178502.patch";
hash = "sha256-dHopNTVO1sZgcMUYE1GrrMjbkwSFxNELIfXe2SyQrhw=";
})
];
build-system = [ poetry-core ];
dependencies = [ aiohttp ];