diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-12-03 10:43:01 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-01-08 16:29:56 +0100 |
commit | 86136b4f76e3950124563aea5173a3f78847c3c2 (patch) | |
tree | 5490dd6d087bc72dc8809dde03570738b9ce3cbd /gnu | |
parent | 59a8de6bad856ee012cd6bc8aaf4d929a6c8e619 (diff) | |
download | guix-86136b4f76e3950124563aea5173a3f78847c3c2.tar.gz |
gnu: Add python-commonroad-io.
* gnu/packages/simulation.scm (python-commonroad-io): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/simulation.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 07f1f879f9..9573d4b11c 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -40,6 +40,7 @@ #: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 @@ #: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 @@ benchmarks. Varying abstraction levels are used ranging from kinematic single 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") |