gnu: guile-dsv: Update to 0.7.0.
* gnu/packages/guile-xyz.scm (guile-dsv): Update to 0.7.0. Improve the package style. [inputs]: Add "bash-minimal". [native-inputs]: Add "guile-smc". [description}: Update. (guile2.2-dsv) [inputs]: Add "bash-minimal". Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
96eda590e1
commit
d936ed6f08
|
@ -728,7 +728,7 @@ you send to a FIFO file.")
|
||||||
(define-public guile-dsv
|
(define-public guile-dsv
|
||||||
(package
|
(package
|
||||||
(name "guile-dsv")
|
(name "guile-dsv")
|
||||||
(version "0.6.0")
|
(version "0.7.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -737,12 +737,17 @@ you send to a FIFO file.")
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0llivcgb7idglsapcmvb2qscds7768f2xfgr4lns8mzl2xf5hwvv"))))
|
"0shrzmbh6x3n3xzpcijkxk3f73z6m1i50zgc2dnnccwf4j1c78p2"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs (list autoconf
|
||||||
(list autoconf automake pkg-config texinfo help2man))
|
automake
|
||||||
(inputs (list guile-3.0))
|
pkg-config
|
||||||
(propagated-inputs (list guile-lib))
|
texinfo
|
||||||
|
help2man
|
||||||
|
;; needed when cross-compiling.
|
||||||
|
guile-smc))
|
||||||
|
(inputs (list bash-minimal guile-3.0))
|
||||||
|
(propagated-inputs (list guile-lib guile-smc))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules (((guix build guile-build-system)
|
`(#:modules (((guix build guile-build-system)
|
||||||
#:select (target-guile-effective-version))
|
#:select (target-guile-effective-version))
|
||||||
|
@ -756,31 +761,32 @@ you send to a FIFO file.")
|
||||||
(bin (string-append out "/bin"))
|
(bin (string-append out "/bin"))
|
||||||
(guile-lib (assoc-ref inputs "guile-lib"))
|
(guile-lib (assoc-ref inputs "guile-lib"))
|
||||||
(version (target-guile-effective-version))
|
(version (target-guile-effective-version))
|
||||||
(scm (string-append "/share/guile/site/"
|
(scm (string-append "/share/guile/site/" version))
|
||||||
version))
|
(go (string-append "/lib/guile/" version
|
||||||
(go (string-append "/lib/guile/"
|
"/site-ccache")))
|
||||||
version "/site-ccache")))
|
|
||||||
(wrap-program (string-append bin "/dsv")
|
(wrap-program (string-append bin "/dsv")
|
||||||
`("GUILE_LOAD_PATH" prefix
|
`("GUILE_LOAD_PATH" prefix
|
||||||
(,(string-append out scm)
|
(,(string-append out scm) ,(string-append
|
||||||
,(string-append guile-lib scm)))
|
guile-lib scm)))
|
||||||
`("GUILE_LOAD_COMPILED_PATH" prefix
|
`("GUILE_LOAD_COMPILED_PATH" prefix
|
||||||
(,(string-append out go)
|
(,(string-append out go) ,(string-append guile-lib
|
||||||
,(string-append guile-lib go)))))
|
go))))) #t)))))
|
||||||
#t)))))
|
|
||||||
(home-page "https://github.com/artyom-poptsov/guile-dsv")
|
(home-page "https://github.com/artyom-poptsov/guile-dsv")
|
||||||
(synopsis "DSV module for Guile")
|
(synopsis "DSV module for Guile")
|
||||||
(description
|
(description
|
||||||
"Guile-DSV is a GNU Guile module for working with the
|
"Guile-DSV is a GNU Guile module for working with the delimiter-separated
|
||||||
delimiter-separated values (DSV) data format. Guile-DSV supports the
|
values (DSV) data format. Guile-DSV supports the Unix-style DSV format and RFC 4180
|
||||||
Unix-style DSV format and RFC 4180 format.")
|
style format. Also Guile-DSV includes a console program named @code{dsv} that allows
|
||||||
|
to view and process DSV data, including such operations as delimiter change,
|
||||||
|
conversion from one DSV standard to another and printing the data as pseudographics
|
||||||
|
tables.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public guile2.2-dsv
|
(define-public guile2.2-dsv
|
||||||
(package
|
(package
|
||||||
(inherit guile-dsv)
|
(inherit guile-dsv)
|
||||||
(name "guile2.2-dsv")
|
(name "guile2.2-dsv")
|
||||||
(inputs (list guile-2.2))
|
(inputs (list bash-minimal guile-2.2))
|
||||||
(propagated-inputs `(("guile-lib" ,guile2.2-lib)))))
|
(propagated-inputs `(("guile-lib" ,guile2.2-lib)))))
|
||||||
|
|
||||||
(define-public guile-fibers-1.3
|
(define-public guile-fibers-1.3
|
||||||
|
|
Reference in New Issue