gnu: Remove aseba.

* gnu/packages/robotics.scm (aseba): Delete variable.

Change-Id: If9b6361d9eb16ef39ed769dd138c9ead30aa346a
This commit is contained in:
Andreas Enge 2025-09-03 18:47:02 +02:00
parent d1ebf9c02e
commit d23569e0ff
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -72,66 +72,3 @@ hundred times faster than real-time.")
;; citation, but that sentence is written as not being part of the
;; license (fortunately).
(license license:gpl2+))))
(define-public aseba
;; Use the commit that allows us to build with Qt5.
(let ((commit "3b35de80d5fdd47592b1c01d57e1f4ef37c5e5ea")
(revision "0"))
(package
(name "aseba")
(version (git-version "1.6.0" revision commit))
(home-page "https://github.com/aseba-community/aseba")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page) (commit commit)
(recursive? #t))) ;for Blockly
(sha256
(base32
"0j31lmc9f0ksvkh0md2fgsz92hcsrwnrqqcynamizs2ah8iwlqi5"))
(file-name (string-append name "-" version "-checkout"))
(modules '((guix build utils)))
(snippet
;; Add missing Qt5::Network.
'(substitute* "targets/playground/CMakeLists.txt"
(("target_link_libraries(.*)\\$\\{EXTRA_LIBS\\}" _ middle)
(string-append "target_link_libraries" middle
" Qt5::Network ${EXTRA_LIBS}"))))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
#:parallel-build? #f ;occasionally fails with '-j'
#:phases (modify-phases %standard-phases
(add-after 'unpack 'help-valgrind
(lambda* (#:key inputs #:allow-other-keys)
(let ((debug (search-input-directory inputs
"/lib/debug")))
(substitute* "tests/common/CMakeLists.txt"
(("--error-exitcode=1" flag)
(string-append "--extra-debuginfo-path="
debug " " flag)))))))))
(native-inputs
(list pkg-config
valgrind/pinned ;for tests
`(,(canonical-package glibc) "debug")))
(inputs
(list dashel
enki
protobuf-3.5 ;for logging
qtbase-5
qtsvg-5
qttools-5 ;for libQt5Help, needed by "studio"
qtx11extras
eudev
libxml2
sdl2
avahi)) ;XXX: we need the libdnssd compat layer
(synopsis "Event-based robot programming tools")
(description
"Aseba means @dfn{actuator and sensor event-based architecture}.
It is a set of tools which allow beginners to program robots easily and
efficiently. It includes robot simulators, a programming language, and a
visual programming language (VPL) that is notably used together with the
Thymio educational robot.")
;; Source file headers say "version 3.0" without "or any later version".
(license license:lgpl3))))