about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2024-06-18 02:00:58 +0200
committerGitHub <noreply@github.com>2024-06-18 02:00:58 +0200
commit536c64b528b360b6fe0fe80b3a6d49ed6b177772 (patch)
tree7042fdf189db160ddaad1063e9950940480ff808 /pkgs
parent23e833ca5380702a33482dbf34f19ccf452c2932 (diff)
parent5abf8384ca65f56a20312aba342bb28c3d6201ec (diff)
Merge pull request #320641 from mweinelt/pyopenweathermap-0.0.10
python312Packages.pyopenweathermap: 0.0.9 -> 0.0.10
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pyopenweathermap/default.nix16
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 ];