Merge pull request #320641 from mweinelt/pyopenweathermap-0.0.10
python312Packages.pyopenweathermap: 0.0.9 -> 0.0.10
This commit is contained in:
commit
536c64b528
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user