unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 59798@debbugs.gnu.org
Subject: [bug#59798] [PATCH 5/6] gnu: Add python-commonroad-io.
Date: Sat, 3 Dec 2022 10:43:01 +0100	[thread overview]
Message-ID: <3ca0ed5fc56c6708cb764f1d48e1291738d6052c.camel@gmail.com> (raw)
In-Reply-To: <844eb869ce6d4bf984242268b254eeba522d2f9d.camel@gmail.com>

* gnu/packages/simulation.scm (python-commonroad-io): New variable.
---
 gnu/packages/simulation.scm | 41 +++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 07f1f879f9..7659cf224a 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -40,6 +40,7 @@ (define-module (gnu packages simulation)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages iso-codes)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages maths)
@@ -47,6 +48,7 @@ (define-module (gnu packages simulation)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-science)
@@ -966,6 +968,45 @@ (define-public python-commonroad-vehicle-models
 track models to multi-body models.")
     (license license:bsd-3)))
 
+(define-public python-commonroad-io
+  (package
+    (name "python-commonroad-io")
+    (version "2022.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "commonroad-io" version))
+              (sha256
+               (base32
+                "1cj9zj567mca8xb8sx9h3nnl2cccv6vh8h73imgpq61cimk9mvas"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-setup.py
+                 (lambda _
+                   #$%commonroad-dont-install-license-at-root)))))
+    (propagated-inputs (list python-commonroad-vehicle-models
+                             python-iso3166
+                             python-lxml
+                             python-matplotlib
+                             python-networkx
+                             python-numpy
+                             python-omegaconf
+                             python-pillow
+                             python-protobuf
+                             python-rtree
+                             python-scipy
+                             python-shapely
+                             python-tqdm))
+    (native-inputs (list python-lxml python-pytest))
+    (home-page "https://commonroad.in.tum.de/")
+    (synopsis "Read, write, and visualize CommonRoad scenarios.")
+    (description "This package provides methods to read, write, and visualize
+CommonRoad scenarios and planning problems.  It can be used as a framework for
+implementing motion planning algorithms to solve CommonRoad Benchmarks
+and is the basis for other tools of the CommonRoad Framework")
+    (license license:bsd-3)))
+
 (define-public sumo
   (package
     (name "sumo")
-- 
2.38.1





  parent reply	other threads:[~2022-12-03 10:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-03  9:50 [bug#59798] [PATCH 0/6] Add CommonRoad Liliana Marie Prikler
2022-12-03  9:29 ` [bug#59798] [PATCH 1/6] gnu: Add java-antlr4-runtime-python Liliana Marie Prikler
2022-12-03  9:31 ` [bug#59798] [PATCH 2/6] gnu: Add python-omegaconf Liliana Marie Prikler
2022-12-03  9:36 ` [bug#59798] [PATCH 3/6] gnu: python-iso3166: Update to 2.1.1 Liliana Marie Prikler
2022-12-03  9:40 ` [bug#59798] [PATCH 4/6] gnu: Add python-commonroad-vehicle-models Liliana Marie Prikler
2022-12-03  9:43 ` Liliana Marie Prikler [this message]
2023-01-08 14:32   ` [bug#59798] [PATCH 0/6] Add CommonRoad Ludovic Courtès
2023-01-08 16:09     ` bug#59798: " Liliana Marie Prikler
2022-12-03  9:43 ` [bug#59798] [PATCH 6/6] gnu: Add python-commonroad-route-planner Liliana Marie Prikler
2023-01-08 14:31 ` [bug#59798] [PATCH 0/6] Add CommonRoad Ludovic Courtès

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=3ca0ed5fc56c6708cb764f1d48e1291738d6052c.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=59798@debbugs.gnu.org \
    /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).