gnu: dezyne: Use new package style.
* gnu/packages/dezyne.scm (dezyne)[arguments]: Convert to list of G-Expressions. [inputs]: Drop labels.
This commit is contained in:
parent
83c1f017a6
commit
0e9429544f
1 changed files with 62 additions and 60 deletions
|
@ -20,6 +20,7 @@
|
|||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix download)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages bash)
|
||||
|
@ -38,19 +39,20 @@
|
|||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1sh9chg5q10c3bzsmgl1pb7pmdf04j2lqszhw8jk5qlxr9y8ybcq"))))
|
||||
(inputs `(("bash" ,bash-minimal)
|
||||
("guile" ,guile-3.0-latest)
|
||||
("guile-json" ,guile-json-4)
|
||||
("guile-readline" ,guile-readline)
|
||||
("mcrl2" ,mcrl2-minimal)
|
||||
("sed" ,sed)))
|
||||
(inputs (list bash-minimal
|
||||
guile-3.0-latest
|
||||
guile-json-4
|
||||
guile-readline
|
||||
mcrl2-minimal
|
||||
sed))
|
||||
(native-inputs (list guile-3.0-latest pkg-config))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:modules ((ice-9 popen)
|
||||
(list
|
||||
#:modules `((ice-9 popen)
|
||||
,@%gnu-build-system-modules)
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-tests
|
||||
(lambda _
|
||||
;; The mCRL2 output for these tests is unstable, i.e., varies
|
||||
|
@ -66,17 +68,17 @@
|
|||
(add-after 'install 'install-readmes
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(base (string-append ,name "-" ,version))
|
||||
(base (string-append #$name "-" #$version))
|
||||
(doc (string-append out "/share/doc/" base)))
|
||||
(mkdir-p doc)
|
||||
(copy-file "NEWS" (string-append doc "/NEWS")))))
|
||||
(add-after 'install 'wrap-binaries
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bash (assoc-ref %build-inputs "bash"))
|
||||
(bash (assoc-ref %build-inputs "bash-minimal"))
|
||||
(guile (assoc-ref %build-inputs "guile"))
|
||||
(json (assoc-ref %build-inputs "guile-json"))
|
||||
(mcrl2 (assoc-ref %build-inputs "mcrl2"))
|
||||
(mcrl2 (assoc-ref %build-inputs "mcrl2-minimal"))
|
||||
(readline (assoc-ref %build-inputs "guile-readline"))
|
||||
(sed (assoc-ref %build-inputs "sed"))
|
||||
(effective (read
|
||||
|
|
Reference in a new issue