diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2024-09-11 22:23:15 +0300 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-09-16 22:01:36 +0100 |
| commit | bee20255f7e20b7b79217abfe755f5ea1fc6d993 (patch) | |
| tree | 88593c29efe13b7b95a623f183cc0b7f5d291f00 | |
| parent | 58405cbe3abef0a511bba32cf321981766f1b231 (diff) | |
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>
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 037cef32dbf..40fc2ce5f71 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm | |||
| @@ -4251,6 +4251,40 @@ allocator. This is primarily useful for long lived buffers that usually sit emp | |||
| 4251 | length-delimited slices. It's helpful for building wire protocols.") | 4251 | length-delimited slices. It's helpful for building wire protocols.") |
| 4252 | (license license:expat))) | 4252 | (license license:expat))) |
| 4253 | 4253 | ||
| 4254 | (define-public go-github-com-liyue201-gostl | ||
| 4255 | (package | ||
| 4256 | (name "go-github-com-liyue201-gostl") | ||
| 4257 | (version "1.2.0") | ||
| 4258 | (source | ||
| 4259 | (origin | ||
| 4260 | (method git-fetch) | ||
| 4261 | (uri (git-reference | ||
| 4262 | (url "https://github.com/liyue201/gostl") | ||
| 4263 | (commit (string-append "v" version)))) | ||
| 4264 | (file-name (git-file-name name version)) | ||
| 4265 | (sha256 | ||
| 4266 | (base32 "1dxzh791agir21dp1jmfa1bvqc23byz93fx3jlm94brlgm9zdkd3")))) | ||
| 4267 | (build-system go-build-system) | ||
| 4268 | (arguments | ||
| 4269 | (list | ||
| 4270 | #:import-path "github.com/liyue201/gostl" | ||
| 4271 | #:phases | ||
| 4272 | #~(modify-phases %standard-phases | ||
| 4273 | (delete 'build) | ||
| 4274 | (replace 'check | ||
| 4275 | (lambda* (#:key tests? import-path #:allow-other-keys) | ||
| 4276 | (when tests? | ||
| 4277 | (with-directory-excursion (string-append "src/" import-path) | ||
| 4278 | (invoke "go" "test" "-v" "./...")))))))) | ||
| 4279 | (native-inputs | ||
| 4280 | (list go-github-com-stretchr-testify)) | ||
| 4281 | (home-page "https://github.com/liyue201/gostl") | ||
| 4282 | (synopsis "Data structure and algorithm library for Go") | ||
| 4283 | (description | ||
| 4284 | "@code{gostl} is a data structure and algorithm library for Go, designed | ||
| 4285 | to provide functions similar to C++ STL.") | ||
| 4286 | (license license:expat))) | ||
| 4287 | |||
| 4254 | (define-public go-github-com-logrusorgru-aurora | 4288 | (define-public go-github-com-logrusorgru-aurora |
| 4255 | (package | 4289 | (package |
| 4256 | (name "go-github-com-logrusorgru-aurora") | 4290 | (name "go-github-com-logrusorgru-aurora") |
