unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Wilko Meyer <w@wmeyer.eu>
To: 70685@debbugs.gnu.org
Cc: Wilko Meyer <w@wmeyer.eu>, Andreas Enge <andreas@enge.fr>,
	Eric Bavier <bavier@posteo.net>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#70685] [PATCH 30/30] gnu: Add rust-osm-io-0.1.
Date: Wed,  1 May 2024 00:27:35 +0200	[thread overview]
Message-ID: <02a7156ebd67a6a86e87140ff630a840ead275a0.1714515575.git.w@wmeyer.eu> (raw)
In-Reply-To: <cover.1714515573.git.w@wmeyer.eu>

* gnu/packages/geo.scm (rust-osm-io-0.1): New variable.

Change-Id: Ib64027c9f5e5cce7f136f2462bafef39356d2c96
---
 gnu/packages/geo.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 6ab2312385..0624076c72 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages geo)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system ant)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system cargo)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
@@ -76,6 +77,7 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages cups)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages cran)
+  #:use-module (gnu packages crates-io)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages docbook)
@@ -2418,6 +2420,51 @@ (define-public routino
     (home-page "https://www.routino.org/")
     (license license:agpl3+)))
 
+(define-public rust-osm-io-0.1
+  (package
+    (name "rust-osm-io")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "osm-io" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0a46rpsal967gjjq8dxrj43rs8v33g6c800z350fjzm39zrr8yhw"))))
+    (native-inputs (list protobuf))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=test_apidb_dump_reader_parallel_pbf_writer_pipe"
+         "--skip=test_apidb_dump_reader_pbf_writer_pipe"
+         "--skip=test_pbf_reader_apidb_dump_writer_pipe")
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+                       ("rust-bytes" ,rust-bytes-1)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-command-executor" ,rust-command-executor-0.1)
+                       ("rust-escape-string" ,rust-escape-string-0.1)
+                       ("rust-flate2" ,rust-flate2-1)
+                       ("rust-json" ,rust-json-0.12)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-num-format" ,rust-num-format-0.4)
+                       ("rust-num-cpus" ,rust-num-cpus-1)
+                       ("rust-postgres" ,rust-postgres-0.19)
+                       ("rust-prost" ,rust-prost-0.12)
+                       ("rust-prost-build" ,rust-prost-build-0.12)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-simple-logger" ,rust-simple-logger-4)
+                       ("rust-text-file-sort" ,rust-text-file-sort-0.1)
+                       ("rust-transient-btree-index" ,rust-transient-btree-index-0.5)
+                       ("rust-unescape" ,rust-unescape-0.1)
+                       ("rust-uuid" ,rust-uuid-1))
+       #:cargo-development-inputs (("rust-benchmark-rs" ,rust-benchmark-rs-0.1))))
+    (home-page "https://www.navigatorsguild.io/")
+    (synopsis "Read and write OSM data")
+    (description "This crate provides a way to read and write OSM data.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public r-rnaturalearthhires
   (let ((commit "c3785a8c44738de6ae8f797080c0a337ebed929d")
         (revision "1"))
-- 
2.41.0





      parent reply	other threads:[~2024-04-30 22:30 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 22:25 [bug#70685] [PATCH 00/30] Add rust-osm-io Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 01/30] gnu: rust-anyhow-1: Update to 1.0.82 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 02/30] gnu: Add rust-benchmark-rs-0.1 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 03/30] gnu: Add rust-binary-layout-2 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 04/30] gnu: Add rust-bitstring-0.1 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 05/30] gnu: rust-bytes-1: Update to 1.6.0 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 06/30] gnu: rust-chrono-0.4: Update to 0.4.38 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 07/30] gnu: Add rust-cidr-0.2 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 08/30] gnu: Add rust-command-executor-0.1 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 09/30] gnu: Add rust-escape-string-0.1 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 10/30] gnu: Add rust-eui48-1 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 11/30] gnu: rust-log-0.4: Update to 0.4.21 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 12/30] gnu: rust-postgres-0.19: Update to 0.19.7 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 13/30] gnu: rust-postgres-derive-0.4: Update to 0.4.5 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 14/30] gnu: rust-postgres-protocol-0.6: Update to 0.6.6 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 15/30] gnu: rust-postgres-types-0.2: Update to 0.2.6 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 16/30] gnu: rust-prost-0.12: Update to 0.12.4 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 17/30] gnu: rust-prost-derive-0.12: " Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 18/30] gnu: rust-regex-1: Update to 1.10.4 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 19/30] gnu: rust-regex-automata-0.4: Update to 0.4.6 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 20/30] gnu: Add rust-rlimit-0.10 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 21/30] gnu: Add rust-statrs-0.16 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 22/30] gnu: Add rust-text-file-sort-0.1 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 23/30] gnu: rust-tokio-postgres-0.7: Update to 0.7.10 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 24/30] gnu: Add rust-transient-btree-index-0.5 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 25/30] gnu: rust-uuid-1: Update to 1.8.0 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 26/30] gnu: rust-uuid-macro-internal-1: " Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 27/30] gnu: rust-value-bag-1: Update to 1.8.1 Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 28/30] gnu: rust-value-bag-serde1-1: " Wilko Meyer
2024-04-30 22:27 ` [bug#70685] [PATCH 29/30] gnu: rust-value-bag-sval2-1: " Wilko Meyer
2024-04-30 22:27 ` Wilko Meyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02a7156ebd67a6a86e87140ff630a840ead275a0.1714515575.git.w@wmeyer.eu \
    --to=w@wmeyer.eu \
    --cc=70685@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    --cc=sharlatanus@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).