summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorB. Wilson <elaexuotee@wilsonb.com>2020-06-19 23:08:40 +0900
committerMathieu Othacehe <othacehe@gnu.org>2020-06-21 11:06:53 +0200
commit512d23c65d82bb874ca1fb3c12095b1cec8bbfca (patch)
tree4f776e798e15276e04444e03790026e6f01d7cef
parentgnu: git-annex: Update to 8.20200617. (diff)
downloadguix-512d23c65d82bb874ca1fb3c12095b1cec8bbfca.tar.gz
guix-512d23c65d82bb874ca1fb3c12095b1cec8bbfca.tar.bz2
guix-512d23c65d82bb874ca1fb3c12095b1cec8bbfca.tar.xz
gnu: Add poke.
* gnu/packages/engineering.scm (poke): New variable. * gnu/packages/bison.scm (bison-3.6): New variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
-rw-r--r--gnu/packages/bison.scm13
-rw-r--r--gnu/packages/engineering.scm68
2 files changed, 81 insertions, 0 deletions
diff --git a/gnu/packages/bison.scm b/gnu/packages/bison.scm
index ae8d1a1..63b14c7 100644
--- a/gnu/packages/bison.scm
+++ b/gnu/packages/bison.scm
@@ -2,6 +2,7 @@
2;;; Copyright © 2012, 2013, 2015, 2019 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012, 2013, 2015, 2019 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> 3;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
4;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il> 4;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
5;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
5;;; 6;;;
6;;; This file is part of GNU Guix. 7;;; This file is part of GNU Guix.
7;;; 8;;;
@@ -64,6 +65,18 @@ grammar. It is versatile enough to have many applications, from parsers for
64simple tools through complex programming languages.") 65simple tools through complex programming languages.")
65 (license gpl3+))) 66 (license gpl3+)))
66 67
68(define-public bison-3.6
69 (package
70 (inherit bison)
71 (name "bison-3.6")
72 (version "3.6.3")
73 (source
74 (origin
75 (method url-fetch)
76 (uri (string-append "mirror://gnu/bison/bison-" version ".tar.xz"))
77 (sha256
78 (base32 "0gdpnjh6ra9xa9vj6hzjdf0c04x4pjyy8vssm3qdb7fya4v7knq6"))))))
79
67(define-public bison-3.0 80(define-public bison-3.0
68 (package 81 (package
69 (inherit bison) 82 (inherit bison)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index edbaa5b..f2d32e6 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -18,6 +18,7 @@
18;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> 18;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
19;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> 19;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
20;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech> 20;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
21;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
21;;; 22;;;
22;;; This file is part of GNU Guix. 23;;; This file is part of GNU Guix.
23;;; 24;;;
@@ -54,6 +55,7 @@
54 #:use-module (gnu packages algebra) 55 #:use-module (gnu packages algebra)
55 #:use-module (gnu packages autotools) 56 #:use-module (gnu packages autotools)
56 #:use-module (gnu packages base) 57 #:use-module (gnu packages base)
58 #:use-module (gnu packages bdw-gc)
57 #:use-module (gnu packages bison) 59 #:use-module (gnu packages bison)
58 #:use-module (gnu packages boost) 60 #:use-module (gnu packages boost)
59 #:use-module (gnu packages check) 61 #:use-module (gnu packages check)
@@ -61,6 +63,7 @@
61 #:use-module (gnu packages commencement) 63 #:use-module (gnu packages commencement)
62 #:use-module (gnu packages compression) 64 #:use-module (gnu packages compression)
63 #:use-module (gnu packages curl) 65 #:use-module (gnu packages curl)
66 #:use-module (gnu packages dejagnu)
64 #:use-module (gnu packages digest) 67 #:use-module (gnu packages digest)
65 #:use-module (gnu packages documentation) 68 #:use-module (gnu packages documentation)
66 #:use-module (gnu packages flex) 69 #:use-module (gnu packages flex)
@@ -85,8 +88,10 @@
85 #:use-module (gnu packages imagemagick) 88 #:use-module (gnu packages imagemagick)
86 #:use-module (gnu packages libevent) 89 #:use-module (gnu packages libevent)
87 #:use-module (gnu packages linux) ;FIXME: for pcb 90 #:use-module (gnu packages linux) ;FIXME: for pcb
91 #:use-module (gnu packages lisp)
88 #:use-module (gnu packages m4) 92 #:use-module (gnu packages m4)
89 #:use-module (gnu packages maths) 93 #:use-module (gnu packages maths)
94 #:use-module (gnu packages man)
90 #:use-module (gnu packages multiprecision) 95 #:use-module (gnu packages multiprecision)
91 #:use-module (gnu packages mpi) 96 #:use-module (gnu packages mpi)
92 #:use-module (gnu packages ncurses) 97 #:use-module (gnu packages ncurses)
@@ -103,6 +108,7 @@
103 #:use-module (gnu packages tls) 108 #:use-module (gnu packages tls)
104 #:use-module (gnu packages tex) 109 #:use-module (gnu packages tex)
105 #:use-module (gnu packages version-control) 110 #:use-module (gnu packages version-control)
111 #:use-module (gnu packages web)
106 #:use-module (gnu packages wxwidgets) 112 #:use-module (gnu packages wxwidgets)
107 #:use-module (gnu packages xml) 113 #:use-module (gnu packages xml)
108 #:use-module (gnu packages openkinect) 114 #:use-module (gnu packages openkinect)
@@ -2676,3 +2682,65 @@ proper, a versatile program with a graphical user interface, and meshlabserver,
2676a program that can perform mesh processing tasks in batch mode, without a 2682a program that can perform mesh processing tasks in batch mode, without a
2677GUI.") 2683GUI.")
2678 (license license:gpl3+))) 2684 (license license:gpl3+)))
2685
2686(define-public poke
2687 ;; Upstream has yet to tag any releases.
2688 (let ((commit "d33317a46e3b7c48130a471a48cbfea1abab70d8")
2689 (revision "0"))
2690 (package
2691 (name "poke")
2692 (version (git-version "0.0.0" revision commit))
2693 (source
2694 (origin
2695 (method git-fetch)
2696 (uri (git-reference
2697 (url "git://git.savannah.gnu.org/poke.git")
2698 (commit commit)
2699 (recursive? #t)))
2700 (sha256
2701 (base32 "1dd0r1x123bqi78lrsk58rvg9c9wka0kywdyzn7g3i4hkh54xb7d"))
2702 (file-name (git-file-name name version))))
2703 (build-system gnu-build-system)
2704 ;; The GUI, which we elide, requires tcl and tk.
2705 (native-inputs `(("autoconf" ,autoconf)
2706 ("automake" ,automake)
2707 ;; Requires bison 3.6+ but we currently only have 3.5.
2708 ;; Bison 3.6 will be available in the next core update.
2709 ("bison-3.6" ,bison-3.6)
2710 ("clisp" ,clisp)
2711 ("dejagnu" ,dejagnu)
2712 ("flex" ,flex)
2713 ("gettext" ,gettext-minimal)
2714 ("help2man" ,help2man)
2715 ("libtool" ,libtool)
2716 ("perl" ,perl)
2717 ("pkg-config" ,pkg-config)
2718 ("python-2" ,python-2)
2719 ("python-3" ,python-3)
2720 ("texinfo" ,texinfo)))
2721 ;; FIXME: Enable NBD support by adding `libnbd' (currently unpackaged).
2722 ;; FIXME: A "hyperlinks-capable" `libtexststyle' needed for the hserver.
2723 (inputs `(("json-c" ,json-c)
2724 ("libgc" ,libgc)
2725 ("readline" ,readline)))
2726 (arguments
2727 ;; To build the GUI, add the `--enable-gui' configure flag.
2728 ;; To enable the "hyperlink server", add the `--enable-hserver' flag.
2729 `(#:configure-flags '("--enable-mi")
2730 #:phases (modify-phases %standard-phases
2731 ;; This is a non-trivial bootstrap that needs many of the
2732 ;; native-inputs and thus must run after `patch-shebangs'.
2733 (delete 'bootstrap)
2734 (add-after 'patch-source-shebangs 'bootstrap
2735 (lambda _
2736 (invoke "./bootstrap" "--no-git"
2737 "--no-bootstrap-sync"
2738 "--gnulib-srcdir=gnulib")
2739 #t)))))
2740 (home-page "http://jemarch.net/poke.html")
2741 (synopsis "Interactive, extensible editor for binary data")
2742 (description "GNU poke is an interactive, extensible editor for binary
2743 data. Not limited to editing basic entities such as bits and bytes, it
2744 provides a full-fledged procedural, interactive programming language designed
2745 to describe data structures and to operate on them.")
2746 (license license:gpl3+))))