From 5a70b9b924444f8e238c546116045f4992faeffe Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 28 Apr 2023 00:43:04 +0100 Subject: gnu: Add python-timezonefinder. * gnu/packages/time.scm (python-timezonefinder): New variable. * gnu/packages/geo.scm (h3-3, python-h3-3): New variables. The latest compatible versions to build python-timezonefinder. Signed-off-by: Efraim Flashner --- gnu/packages/geo.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages/geo.scm') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index f226273812..1337e8f20b 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -251,6 +251,23 @@ combining the benefits of a hexagonal grid with S2's hierarchical subdivisions.") (license license:asl2.0))) +;; For python-timezonefinder, remove it when it starts supporting newer +;; version. +(define-public h3-3 + (package + (inherit h3) + (name "h3") + (version "3.7.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/uber/h3") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bvsljfxmjvl23v9gxykc4aynjzh5xfy3wg02bxad7cknr1amx9j")))))) + (define-public python-h3 (package (name "python-h3") @@ -305,6 +322,26 @@ subdivisions.") hierarchical hexagonal geospatial indexing system") (license license:asl2.0))) +;; For python-timezonefinder, remove it when it starts supporting newer +;; version. +(define-public python-h3-3 + (package + (inherit python-h3) + (name "python-h3") + (version "3.7.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/uber/h3-py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16gxa1sivghxw179rik87r918mjasars2qkzidlwq83qfa4axn20")))) + (inputs + (modify-inputs (package-inputs python-h3) + (replace "h3" h3-3))))) + (define-public memphis (package (name "memphis") -- cgit 1.4.1