mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-github-com-liyue201-gostl.
* gnu/packages/golang-xyz.scm (go-github-com-liyue201-gostl): New variable. Change-Id: I6abdb2f1ca4bd5e53c2b5a72214dcd5b34cbf20d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
58405cbe3a
commit
bee20255f7
1 changed files with 34 additions and 0 deletions
|
@ -4251,6 +4251,40 @@ allocator. This is primarily useful for long lived buffers that usually sit emp
|
||||||
length-delimited slices. It's helpful for building wire protocols.")
|
length-delimited slices. It's helpful for building wire protocols.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-liyue201-gostl
|
||||||
|
(package
|
||||||
|
(name "go-github-com-liyue201-gostl")
|
||||||
|
(version "1.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/liyue201/gostl")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1dxzh791agir21dp1jmfa1bvqc23byz93fx3jlm94brlgm9zdkd3"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/liyue201/gostl"
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(delete 'build)
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? import-path #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(with-directory-excursion (string-append "src/" import-path)
|
||||||
|
(invoke "go" "test" "-v" "./..."))))))))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-stretchr-testify))
|
||||||
|
(home-page "https://github.com/liyue201/gostl")
|
||||||
|
(synopsis "Data structure and algorithm library for Go")
|
||||||
|
(description
|
||||||
|
"@code{gostl} is a data structure and algorithm library for Go, designed
|
||||||
|
to provide functions similar to C++ STL.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-logrusorgru-aurora
|
(define-public go-github-com-logrusorgru-aurora
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-logrusorgru-aurora")
|
(name "go-github-com-logrusorgru-aurora")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue