diff options
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r-- | gnu/packages/engineering.scm | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 80fd9ac141..b43e058af4 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3253,18 +3253,21 @@ program that can perform mesh processing tasks in batch mode, without a GUI.") (delete-file "libpoke/pvm-vm1.c") (delete-file "libpoke/pvm-vm2.c"))))) (build-system gnu-build-system) - ;; The GUI, which we elide, requires tcl and tk. (native-inputs (list bison dejagnu flex libtool pkg-config)) ;; FIXME: Enable NBD support by adding `libnbd' (currently unpackaged). - (inputs (list json-c libgc readline libtextstyle)) + (inputs (list libgc readline libtextstyle)) (arguments - ;; To build the GUI, add the `--enable-gui' configure flag. - ;; To enable the "hyperlink server", add the `--enable-hserver' flag. - `(#:configure-flags - '("--enable-mi" - "--disable-static" - ;; The emacs files are provided in emacs-poke. - "--with-lispdir=/tmp/share/emacs"))) + (list + #:imported-modules `((guix build emacs-build-system) + (guix build emacs-utils) + ,@%gnu-build-system-modules) + #:modules '((guix build gnu-build-system) + ((guix build emacs-build-system) #:prefix emacs:) + (guix build utils)) + #:configure-flags + #~(list "--disable-static" + (string-append "--with-lispdir=" + (emacs:elpa-directory #$output))))) (home-page "https://www.gnu.org/software/poke/#documentation") (synopsis "Editing of arbitrary binary data") (description "GNU poke is an interactive, extensible editor for binary data. @@ -3274,22 +3277,9 @@ data structures and to operate on them.") (license license:gpl3+))) (define-public emacs-poke - (package - (inherit poke) - (name "emacs-poke") - (build-system emacs-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (add-before 'expand-load-path 'change-working-directory - (lambda _ (chdir "etc")))))) - (inputs '()) - (native-inputs '()) - (synopsis "GNU Poke major modes for Emacs") - (description - "This package provides two Emacs major modes for working with GNU Poke: -@code{Poke Ras mode} and @code{Poke Map mode}."))) + ;; The 'emacs-poke' name may eventually refer to 'poke' from ELPA, which is + ;; a different beast. + (deprecated-package "emacs-poke" poke)) (define-public pcb2gcode (package |