diff options
Diffstat (limited to 'pkgs/development/python-modules/pyopenweathermap/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyopenweathermap/default.nix | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/pyopenweathermap/default.nix b/pkgs/development/python-modules/pyopenweathermap/default.nix index f0e41e9e3b353..a683857c12bff 100644 --- a/pkgs/development/python-modules/pyopenweathermap/default.nix +++ b/pkgs/development/python-modules/pyopenweathermap/default.nix @@ -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 ]; |