~ruther/guix-local

ed5a605924d05829c130aae912a6be32d8eb7408 — Sharlatan Hellseher 1 year, 21 days ago c86921f
gnu: goimapnotify: Improve package style.

* gnu/packages/mail.scm (goimapnotify): Update to 2.4.
[arguments] <install-source?>: It's a final command, no need for source.
[propagated-inputs]: Move from here ...
[native-inputs]: ... to here.

Change-Id: I979c87595bbddd4b3fd92d38cac96af1852302bf
1 files changed, 21 insertions(+), 18 deletions(-)

M gnu/packages/mail.scm
M gnu/packages/mail.scm => gnu/packages/mail.scm +21 -18
@@ 510,30 510,33 @@ with a @code{ncurses} user interface similar to @code{alpine} and
  (package
    (name "goimapnotify")
    (version "2.4")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://gitlab.com/shackra/goimapnotify")
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "06gmhrmfl31icr2lld9g2bnqjs0y2fq7kjfzm8zjg8d3n3vs7rl9"))))
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://gitlab.com/shackra/goimapnotify")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "06gmhrmfl31icr2lld9g2bnqjs0y2fq7kjfzm8zjg8d3n3vs7rl9"))))
    (build-system go-build-system)
    (arguments
     `(#:import-path "gitlab.com/shackra/goimapnotify"))
    (propagated-inputs (list go-github-com-emersion-go-imap
                             go-github-com-emersion-go-imap-id
                             go-github-com-emersion-go-imap-idle
                             go-github-com-emersion-go-sasl
                             go-github-com-fatih-color
                             go-github-com-sirupsen-logrus
                             go-github-com-spf13-viper))
     (list
      #:install-source? #f
      #:import-path "gitlab.com/shackra/goimapnotify"))
    (native-inputs
     (list go-github-com-emersion-go-imap
           go-github-com-emersion-go-imap-id
           go-github-com-emersion-go-imap-idle
           go-github-com-emersion-go-sasl
           go-github-com-fatih-color
           go-github-com-sirupsen-logrus
           go-github-com-spf13-viper))
    (home-page "https://gitlab.com/shackra/goimapnotify")
    (synopsis "Execute scripts on IMAP mailbox changes")
    (description
     "Script to execute scripts on IMAP mailbox changes (new/deleted/updated
messages) using IDLE.  Implemented in Go.")
    (home-page "https://gitlab.com/shackra/goimapnotify")
    (license license:gpl3+)))

(define-public go-gitlab.com-shackra-goimapnotify