aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-12-03 09:16:28 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-02-12 08:45:35 +0100
commitefee3dd7a175c2e068178cc0b48479a03775c23d (patch)
treead09b1270cb3d99ba9fa01122e092c6f4f17ef02
parent98b9f3a4bda072c55d8f94fcf17fc3357fce5b15 (diff)
downloadguix-efee3dd7a175c2e068178cc0b48479a03775c23d.tar.gz
guix-efee3dd7a175c2e068178cc0b48479a03775c23d.zip
gnu: Add open-simulation-interface.
* gnu/packages/simulation.scm (open-simulation-interface): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/simulation.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index e5e7d2bf60..2e3d4183eb 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -254,6 +254,38 @@ problems for efficient solution on parallel systems.")
(license license:gpl3+)
(home-page "https://openfoam.org")))
+(define-public open-simulation-interface
+ (package
+ (name "open-simulation-interface")
+ (version "3.5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append "https://github.com/"
+ "OpenSimulationInterface/"
+ "open-simulation-interface"))
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "09vclrvsawx608kk0vnzywr71xn11qzwxzh2j508zjfn0kvhyx7q"))))
+ (build-system cmake-build-system)
+ (arguments (list #:tests? #f ; tests are for the python package
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cmake
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("-targets\\.cmake") "_targets.cmake")))))))
+ (native-inputs (list protobuf))
+ (home-page
+ "https://github.com/OpenSimulationInterface/open-simulation-interface")
+ (synopsis "Generic interface for environmental perception")
+ (description "The Open Simulation Interface is a generic interface based on
+Google's protocol buffers for the environmental perception of automated driving
+functions in virtual scenarios.")
+ (license license:mpl2.0)))
+
(define-public python-fenics-dijitso
(package
(name "python-fenics-dijitso")