gnu: guile-syntax-highlight: Update to 0.1.

* gnu/packages/guile.scm (guile-syntax-highlight): Update to 0.1.
This commit is contained in:
David Thompson 2018-03-10 21:30:35 -05:00
parent 440b162900
commit 3c90c7ae37
No known key found for this signature in database
GPG key ID: 8328C7470FF1D807

View file

@ -2008,40 +2008,30 @@ (define-public guile2.0-git
(package-for-guile-2.0 guile-git)) (package-for-guile-2.0 guile-git))
(define-public guile-syntax-highlight (define-public guile-syntax-highlight
(let ((commit "a047675e66861b647426372aa2ba7820f749616d") (package
(revision "0")) (name "guile-syntax-highlight")
(package (version "0.1")
(name "guile-syntax-highlight") (source (origin
(version (string-append "0.0." revision "." (method url-fetch)
(string-take commit 7))) (uri (string-append "https://files.dthompson.us/"
(source (origin "guile-syntax-highlight/"
(method git-fetch) "guile-syntax-highlight-"
(uri (git-reference version ".tar.gz"))
(url "git://dthompson.us/guile-syntax-highlight.git") (sha256
(commit commit))) (base32
(file-name (string-append name "-" version "-checkout")) "1p771kq15x83483m23bhah1sz6vkalg3drm7x279f4j1cxligkzi"))))
(sha256 (build-system gnu-build-system)
(base32 (native-inputs
"1zjr6sg3n7xbdsliy45i39dqanxvcms58ayx36wxrz72zpq58vq3")))) `(("pkg-config" ,pkg-config)))
(build-system gnu-build-system) (inputs
(arguments `(("guile" ,guile-2.2)))
'(#:phases (modify-phases %standard-phases
(add-after 'unpack 'bootstrap
(lambda _
(zero? (system* "sh" "bootstrap")))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)))
(inputs
`(("guile" ,guile-2.2)))
(synopsis "General-purpose syntax highlighter for GNU Guile") (synopsis "General-purpose syntax highlighter for GNU Guile")
(description "Guile-syntax-highlight is a general-purpose syntax (description "Guile-syntax-highlight is a general-purpose syntax
highlighting library for GNU Guile. It can parse code written in various highlighting library for GNU Guile. It can parse code written in various
programming languages into a simple s-expression that can be converted to programming languages into a simple s-expression that can be converted to
HTML (via SXML) or any other format for rendering.") HTML (via SXML) or any other format for rendering.")
(home-page "http://dthompson.us/software/guile-syntax-highlight") (home-page "http://dthompson.us/projects/guile-syntax-highlight.html")
(license license:lgpl3+)))) (license license:lgpl3+)))
(define-public guile-sjson (define-public guile-sjson
(package (package