diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-14 22:15:08 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-15 18:06:17 +0000 |
| commit | 2e598ea83b543ff6d993cb08c42a84443a0b4e91 (patch) | |
| tree | 949663945506b56998ecc3c54bfa8d450882f56e /gnu | |
| parent | 879bee7b238ddb536738ba9ee252d550e355bed7 (diff) | |
gnu: Add go-github-com-pquerna-otp.
* gnu/packages/golang-xyz.scm (go-github-com-pquerna-otp): New variable.
Change-Id: Iff04079295b7dc03a65bb385922a985f4b201c5e
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index f1ff4d8eb0..9f6466617a 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -20589,6 +20589,41 @@ https://en.wikipedia.org/wiki/Extended_file_attributes}.") and bash completion for the go command line.") (license license:expat))) +(define-public go-github-com-pquerna-otp + (package + (name "go-github-com-pquerna-otp") + (version "1.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pquerna/otp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0krrardi923jc39lar4vpbvdg3382x1wzk1ip3hwjc8f4jydqgai")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Submodules with their own go.mod files and packaged separately: + ;; + ;; - github.com/pquerna/otp/interop + (delete-file-recursively "interop"))))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/pquerna/otp")) + (native-inputs + (list go-github-com-stretchr-testify)) + (propagated-inputs + (list go-github-com-boombuler-barcode)) + (home-page "https://github.com/pquerna/otp") + (synopsis "One Time Password utilities in Go") + (description + "Package otp implements both HOTP and TOTP based one time passcodes in a +Google Authenticator compatible manner.") + (license license:asl2.0))) + (define-public go-github-com-prometheus-community-go-runit (package (name "go-github-com-prometheus-community-go-runit") |
