gnu: Add go-github-com-burntsushi-toml.

* gnu/packages/golang.scm (go-github-com-burntsushi-toml): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Rouby Pierre-Antoine 2018-05-15 15:09:20 +02:00 committed by Ludovic Courtès
parent 2b47ebe1a6
commit fb50664f6b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -10,6 +10,7 @@
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -1300,3 +1301,30 @@ (define-public go-golang-org-x-crypto-ssh-terminal
systems.")
(home-page "https://go.googlesource.com/crypto/")
(license license:bsd-3))))
(define-public go-github-com-burntsushi-toml
(let ((commit
"a368813c5e648fee92e5f6c30e3944ff9d5e8895")
(revision "0"))
(package
(name "go-github-com-burntsushi-toml")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/BurntSushi/toml.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1sjxs2lwc8jpln80s4rlzp7nprbcljhy5mz4rf9995gq93wqnym5"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/BurntSushi/toml"))
(home-page "https://github.com/BurntSushi/toml")
(synopsis "Toml parser and encoder for Go")
(description "This package is toml parser and encoder for Go. The
interface is similar to Go's standard library @code{json} and @code{xml}
package.")
(license license:expat))))