1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 02:20:53 +02:00

gnu: go-github-com-zalando-go-keyring: Move to golang-xyz.

* gnu/packages/golang.scm (go-github-com-zalando-go-keyring): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: If1a55a049bcea1a6a9a3bc25ab179b46214766c7
This commit is contained in:
Sharlatan Hellseher 2025-02-13 15:51:39 +00:00
parent b6c6c2c94c
commit 665f69c66c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 51 additions and 50 deletions

View file

@ -16365,6 +16365,57 @@ provides Go APIs that allow you to easily embed a scripting language to your
Go host programs.")
(license license:expat)))
(define-public go-github-com-zalando-go-keyring
(package
(name "go-github-com-zalando-go-keyring")
(version "0.2.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/zalando/go-keyring")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0gavcs0k2wnw0q7zgcdhwca1phqls70wb93j2bdmjlvmrq9na6f4"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/zalando/go-keyring"
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? import-path #:allow-other-keys)
(when tests?
(with-directory-excursion (string-append "src/" import-path)
(invoke "dbus-run-session" "--"
"go" "test" "-v"
"-skip" (string-join
;; Disable tests which require a system
;; DBus instance.
(list "TestDelete"
"TestDeleteAll"
"TestDeleteAllEmptyService"
"TestDeleteNonExisting"
"TestGet"
"TestGetMultiLine"
"TestGetNonExisting"
"TestGetSingleLineHex"
"TestGetUmlaut"
"TestSet")
"|")
"./..."))))))))
(native-inputs
(list dbus))
(propagated-inputs
(list go-github-com-godbus-dbus-v5))
(home-page "https://github.com/zalando/go-keyring/")
(synopsis "Library for working with system keyring")
(description
"@code{go-keyring} is a library for setting, getting and deleting secrets
from the system keyring.")
(license license:expat)))
(define-public go-github-com-zclconf-go-cty
(package
(name "go-github-com-zclconf-go-cty")