gnu: Add go-github-com-bitly-go-hostpool.

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

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Sharlatan Hellseher 2023-09-01 20:58:10 +01:00 committed by Maxim Cournoyer
parent 5a61bd4623
commit 452f36c614
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -25,7 +25,7 @@
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
;;; Copyright © 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@mgail.com>
;;; Copyright © 2021, 2023 Sharlatan Hellseher <sharlatanus@mgail.com>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 jgart <jgart@dismail.de>
@ -2113,6 +2113,31 @@ (define-public go-github-com-dhowett-go-plist
types.")
(license license:giftware))))
(define-public go-github-com-bitly-go-hostpool
(package
(name "go-github-com-bitly-go-hostpool")
(version "0.1.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bitly/go-hostpool")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1iibj7dwymczw7cknrh6glc6sdpp4yap2plnyr8qphynwrzlz73w"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/bitly/go-hostpool"))
(native-inputs (list go-github-com-stretchr-testify))
(home-page "https://github.com/bitly/go-hostpool")
(synopsis "Pool among multiple hosts from Golang")
(description
"This package provides a Go package to intelligently and flexibly pool among
multiple hosts from your Go application. Host selection can operate in round
robin or epsilon greedy mode, and unresponsive hosts are avoided.")
(license license:expat)))
(define-public go-github-com-blanu-dust
(package
(name "go-github-com-blanu-dust")