gnu: cobol: Add missing inputs.
Reported by Simon Sobisch <simonsobisch@gnu.org>. * gnu/packages/cobol.scm (gnucobol)[inputs]: Add json-c, libxml2. Move newcob ... [native-inputs]: ... to here. [arguments]: Add configure-flag to set json-c cflags.master
parent
7af92387cf
commit
abee44d2c3
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2017, 2018, 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -25,7 +25,9 @@
|
||||||
#:use-module (gnu packages dbm)
|
#:use-module (gnu packages dbm)
|
||||||
#:use-module (gnu packages multiprecision)
|
#:use-module (gnu packages multiprecision)
|
||||||
#:use-module (gnu packages ncurses)
|
#:use-module (gnu packages ncurses)
|
||||||
#:use-module (gnu packages perl))
|
#:use-module (gnu packages perl)
|
||||||
|
#:use-module (gnu packages web)
|
||||||
|
#:use-module (gnu packages xml))
|
||||||
|
|
||||||
(define-public gnucobol
|
(define-public gnucobol
|
||||||
(package
|
(package
|
||||||
|
@ -43,7 +45,10 @@
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
'(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib"))
|
"/lib")
|
||||||
|
(string-append "JSON_C_CFLAGS=-I"
|
||||||
|
(assoc-ref %build-inputs "json-c")
|
||||||
|
"/include/json-c"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'place-cobol85-test-suite
|
(add-after 'unpack 'place-cobol85-test-suite
|
||||||
|
@ -55,17 +60,19 @@
|
||||||
(lambda _ (setenv "TERM" "xterm-256color"))))
|
(lambda _ (setenv "TERM" "xterm-256color"))))
|
||||||
#:test-target "checkall"))
|
#:test-target "checkall"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)))
|
`(("perl" ,perl)
|
||||||
(inputs
|
|
||||||
`(("bdb" ,bdb)
|
|
||||||
("gmp" ,gmp)
|
|
||||||
("ncurses" ,ncurses)
|
|
||||||
("newcob" ,(origin
|
("newcob" ,(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri "https://www.itl.nist.gov/div897/ctg/suites/newcob.val.Z")
|
(uri "https://www.itl.nist.gov/div897/ctg/suites/newcob.val.Z")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1yb1plmv4firfnbb119r2vh1hay221w1ya34nyz0qwsxppfr56hy"))))))
|
"1yb1plmv4firfnbb119r2vh1hay221w1ya34nyz0qwsxppfr56hy"))))))
|
||||||
|
(inputs
|
||||||
|
`(("bdb" ,bdb)
|
||||||
|
("gmp" ,gmp)
|
||||||
|
("json-c" ,json-c)
|
||||||
|
("libxml2" ,libxml2)
|
||||||
|
("ncurses" ,ncurses)))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(home-page "https://www.gnu.org/software/gnucobol/")
|
(home-page "https://www.gnu.org/software/gnucobol/")
|
||||||
(synopsis "A modern COBOL compiler")
|
(synopsis "A modern COBOL compiler")
|
||||||
|
|
Reference in New Issue