summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2019-08-22 14:53:50 +0200
committerLancelot SIX <lsix@lancelotsix.com>2019-08-22 15:01:34 +0200
commitc15aff9fa435087cea94970957f35d05d46f9270 (patch)
treebadadd0991b42432dd5c346fbb0a77aade4c6626 /pkgs/development/python-modules
parent2798da019f45693e1f90628135894485dbd42ff1 (diff)
downloadnixpkgs-c15aff9fa435087cea94970957f35d05d46f9270.tar
nixpkgs-c15aff9fa435087cea94970957f35d05d46f9270.tar.gz
nixpkgs-c15aff9fa435087cea94970957f35d05d46f9270.tar.bz2
nixpkgs-c15aff9fa435087cea94970957f35d05d46f9270.tar.lz
nixpkgs-c15aff9fa435087cea94970957f35d05d46f9270.tar.xz
nixpkgs-c15aff9fa435087cea94970957f35d05d46f9270.tar.zst
nixpkgs-c15aff9fa435087cea94970957f35d05d46f9270.zip
python3Packages.pyowm: drop outdated patching
Version 2.10 relaxed the requirement for geojson from
`geojson>=2.3.0,<2.4` to `geojson>=2.3.0,<3`. Remove the postPatch hook
that adjusted this requirement when it broke in nixpkgs.
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pyowm/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pyowm/default.nix b/pkgs/development/python-modules/pyowm/default.nix
index 37d4f51fa1f..1b8fffa1d29 100644
--- a/pkgs/development/python-modules/pyowm/default.nix
+++ b/pkgs/development/python-modules/pyowm/default.nix
@@ -16,8 +16,7 @@ buildPythonPackage rec {
   # This may actually break the package.
   postPatch = ''
     substituteInPlace setup.py \
-      --replace "requests>=2.18.2,<2.19" "requests"  \
-      --replace "geojson>=2.3.0,<2.4" "geojson<2.5,>=2.3.0"
+      --replace "requests>=2.18.2,<2.19" "requests"
   '';
 
   # No tests in archive