1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 02:50:45 +02:00

gnu: Add go-github-com-beevik-ntp.

* gnu/packages/golang-web.scm (go-github-com-beevik-ntp): New variable.

Change-Id: I4f43146da02860dde9a3c969810968c91e546759
This commit is contained in:
Sharlatan Hellseher 2024-12-27 12:04:41 +00:00
parent 614ae7bff1
commit 34757c63b9
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -693,6 +693,37 @@ credentials sources.")
Manager,NTLM}/Negotiate authentication over HTTP.")
(license license:expat)))
(define-public go-github-com-beevik-ntp
(package
(name "go-github-com-beevik-ntp")
(version "1.4.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/beevik/ntp")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0n2mr4nnbsv5f0w3hkk3kmyn3wd2xqi5zxgcm8s50fdizk0nqmi9"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/beevik/ntp"
;; Tests requir access to <0.beevik-ntp.pool.ntp.org:53>.
#:test-flags #~(list "-skip" "TestOnlineQuery|TestOnlineTime")))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-golang-org-x-net))
(home-page "https://github.com/beevik/ntp")
(synopsis "NTP client package for Golang")
(description
"Package ntp provides an implementation of a Simple NTP (SNTP) client
capable of querying the current time from a remote NTP server as specified in
@url{https://rfc-editor.org/rfc/rfc5905.html, RFC 5905}.")
(license license:bsd-2)))
(define-public go-github-com-bep-golibsass
(package
(name "go-github-com-bep-golibsass")