summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-01 21:53:28 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-01 21:53:28 +0100
commit2ab2d8e5546d71e14ada8e73f4e67c803894a58a (patch)
treebf06d2c348074b317bb1669c5cbb8bf33732ab01
parentaae32847b803d1c70baf9fed6f44aa8d141248da (diff)
downloadguix-2ab2d8e5546d71e14ada8e73f4e67c803894a58a.tar.gz
gnu: python-folium: Update to 0.12.1.
* gnu/packages/python-xyz.scm (python-folium): Update to 0.12.1.
[source]: Fetch from GitHub instead of PyPI.
-rw-r--r--gnu/packages/python-xyz.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e8b13cbe4a..bda2bcc970 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20417,13 +20417,18 @@ time-or-computationally-expensive properties quick and easy and works in Python
 (define-public python-folium
   (package
     (name "python-folium")
-    (version "0.11.0")
+    (version "0.12.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "folium" version))
+       ;; PyPI has a ".whl" file but not a proper source release.
+       ;; Thus, fetch code from Git.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/python-visualization/folium")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "19sclsq3xcjfa7bavzjpyn6rl9b15jbc76n5aag4cwhqqamqj1sl"))))
+        (base32 "0yi5y9pfpbc4bc4ibr8cblif8ls1wf3k0zawyx86r2qwxxkkyd6k"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-branca" ,python-branca)