From: "Ludovic Courtès" <ludo@gnu.org>
To: 30272@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludovic.courtes@inria.fr>
Subject: [bug#30272] [PATCH 2/3] gnu: Add Enki.
Date: Sat, 27 Jan 2018 23:28:04 +0100 [thread overview]
Message-ID: <20180127222805.16401-1-ludo@gnu.org> (raw)
In-Reply-To: <20180127222259.16249-1-ludo@gnu.org>
From: Ludovic Courtès <ludovic.courtes@inria.fr>
* gnu/packages/robotics.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
---
gnu/local.mk | 3 ++-
gnu/packages/robotics.scm | 67 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/robotics.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index e96040a4e..2424b8e9f 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1,5 +1,5 @@
# GNU Guix --- Functional package management for GNU
-# Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
+# Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
# Copyright © 2013, 2014, 2015, 2016, 2017 Andreas Enge <andreas@enge.fr>
# Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
# Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
@@ -357,6 +357,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/re2c.scm \
%D%/packages/readline.scm \
%D%/packages/regex.scm \
+ %D%/packages/robotics.scm \
%D%/packages/rrdtool.scm \
%D%/packages/rsync.scm \
%D%/packages/ruby.scm \
diff --git a/gnu/packages/robotics.scm b/gnu/packages/robotics.scm
new file mode 100644
index 000000000..da6f8856b
--- /dev/null
+++ b/gnu/packages/robotics.scm
@@ -0,0 +1,67 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages robotics)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix build-system cmake)
+ #:use-module (gnu packages gl)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages qt)
+ #:use-module (gnu packages sdl))
+
+(define-public enki
+ ;; Previous versions use Qt4 and are unsuitable for Aseba.
+ (let ((commit "afd2d8e2f91c095f6745505ca1f32f31ea874200")
+ (revision "0"))
+ (package
+ (name "enki")
+ (version (git-version "2.0pre" revision commit))
+ (home-page "https://github.com/enki-community/enki/")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit commit)))
+ (sha256
+ (base32
+ "1d1901zzsfml97hb4mb3ah3ab1bk4kh7bn6m7xrj1rv0gk9wkhq7"))
+ (file-name (string-append name "-" version "-checkout"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (inputs
+ ;; Optionally, add Python + Boost for Python bindings.
+ `(("sdl2" ,sdl2)))
+ (propagated-inputs
+ ;; 'Viewer.h' includes 'QGLWidget'.
+ `(("qtbase" ,qtbase) ;the viewer module needs Qt5 + MESA
+ ("mesa" ,mesa)))
+ (synopsis "Robot simulator")
+ (description
+ "Enki is a robot simulator written in C++. It provides collision and
+limited physics support for robots evolving on a flat surface. On a
+contemporary desktop computer, Enki is able to simulate groups of robots
+hundred times faster than real-time.")
+
+ ;; The 'LICENSE' file as well as source file headers says that
+ ;; researchers using the software are "asked" to cite using a given
+ ;; citation, but that sentence is written as not being part of the
+ ;; license (fortunately).
+ (license license:gpl2+))))
--
2.15.1
next prev parent reply other threads:[~2018-01-27 22:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-27 22:22 [bug#30272] [PATCH 1/3] gnu: Add Dashel Ludovic Courtès
2018-01-27 22:28 ` Ludovic Courtès [this message]
2018-01-27 22:28 ` [bug#30272] [PATCH 3/3] gnu: Add Aseba Ludovic Courtès
2018-01-30 15:56 ` bug#30272: " 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180127222805.16401-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=30272@debbugs.gnu.org \
--cc=ludovic.courtes@inria.fr \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.