~ruther/guix-local

ee587e768435850ed8e47884a24a003403c8422e — Patrick Norton 5 months ago 4cf3bcd
gnu: Add go-github-com-henrybear327-go-proton-api.

* gnu/packages/golang-web.scm
(go-github-com-henrybear327-go-proton-api): New variable.

Change-Id: Ibc16423acf37565bd75d0300ad63fbb462f0c679
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 51 insertions(+), 0 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +51 -0
@@ 6753,6 6753,57 @@ Features:
@end itemize")
    (license license:mpl2.0)))

(define-public go-github-com-henrybear327-go-proton-api
  (package
    (name "go-github-com-henrybear327-go-proton-api")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/henrybear327/go-proton-api")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0065mhbnhc973avqmd646gg2p3hdsj9q2gzrl0z6f9k18b4pf00j"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/henrybear327/go-proton-api"
      ;; Test requires PGP cert
      #:test-flags
      #~(list "-skip" "TestDecrypt")
      #:embed-files
      #~(list "children" "nodes" "text")))
    (native-inputs
     (list go-github-com-stretchr-testify
           go-go-uber-org-goleak))
    (propagated-inputs
     (list go-github-com-bradenaw-juniper
           go-github-com-emersion-go-message
           go-github-com-emersion-go-vcard
           go-github-com-gin-gonic-gin
           go-github-com-go-resty-resty-v2
           go-github-com-google-uuid
           go-github-com-masterminds-semver-v3
           go-github-com-protonmail-gluon
           go-github-com-protonmail-go-crypto
           go-github-com-protonmail-go-srp
           go-github-com-protonmail-gopenpgp-v2
           go-github-com-puerkitobio-goquery
           go-github-com-sirupsen-logrus
           go-github-com-urfave-cli-v2
           go-golang-org-x-exp
           go-golang-org-x-net
           go-golang-org-x-text
           go-google-golang-org-grpc
           go-google-golang-org-protobuf))
    (home-page "https://github.com/henrybear327/go-proton-api")
    (synopsis "Go Proton API")
    (description
     "Package proton implements types for accessing the Proton API.")
    (license license:expat)))

(define-public go-github-com-hetznercloud-hcloud-go-v2
  (package
    (name "go-github-com-hetznercloud-hcloud-go-v2")