mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: Add go-github-com-creasty-defaults.
* gnu/packages/golang-xyz.scm (go-github-com-creasty-defaults): New variable. Change-Id: I4e96c9945a2e36e8f379db60b9e635f1389bd6b8
This commit is contained in:
parent
4b31d4f15b
commit
8aab90a5ed
1 changed files with 28 additions and 0 deletions
|
@ -2905,6 +2905,34 @@ (define-public go-github-com-creack-pty
|
|||
"The pty package provides functions for working with Unix pseudoterminals.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-creasty-defaults
|
||||
(package
|
||||
(name "go-github-com-creasty-defaults")
|
||||
(version "1.8.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/creasty/defaults")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1avbm47ghqc6hiafv0c61mzrw9rajgszjyqh4yww916fqzaw8li3"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/creasty/defaults"))
|
||||
(home-page "https://github.com/creasty/defaults")
|
||||
(synopsis "Initialize structs with default values")
|
||||
(description
|
||||
"This package implements functionlity to initialize structs with default
|
||||
values. It supports almost all kind of types: @code{int/8/16/32/64},
|
||||
@code{uint/8/16/32/64}, @code{float32/64}, @code{uintptr}, @code{bool},
|
||||
@code{string}, @code{map}, @code{slice}, @code{struct},
|
||||
@code{f,map[K1]map[K2]Struct}, @code{}[]map[K1]Struct[]},
|
||||
@code{time.Duration}, @code{*SampleStruct}, and @code{*int}")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-cskr-pubsub
|
||||
(package
|
||||
(name "go-github-com-cskr-pubsub")
|
||||
|
|
Loading…
Reference in a new issue