diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-03-18 09:21:46 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2024-03-18 09:21:46 +0100 |
commit | 4a1650ab834c42355d124aff0584a8c742f4106a (patch) | |
tree | 141474d4cd116c84dc0d8f7de01c02b936d282b6 /gnu/packages/emacs-xyz.scm | |
parent | dc2d352eb1974273e13b3a8f11aee27ae7c1f802 (diff) | |
download | guix-4a1650ab834c42355d124aff0584a8c742f4106a.tar.gz guix-4a1650ab834c42355d124aff0584a8c742f4106a.zip |
gnu: emacs-webpaste: Update to 3.2.2-1.8ac7b2d.
* gnu/packages/emacs-xyz.scm (emacs-webpaste): Update to 3.2.2-1.8ac7b2d.
Change-Id: Ifc4e9e59cb321d043e7c2aceb682119d6040e134
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 72 |
1 files changed, 37 insertions, 35 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index dbd8ebe879..7e02fc0ed2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -37927,44 +37927,46 @@ released, and track their progress in watching a series.") (license license:gpl3+))) (define-public emacs-webpaste - (package - (name "emacs-webpaste") - (version "3.2.2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/etu/webpaste.el") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "07hj9nr7x6c9w2dnvc58cfbprgp9cqzdxflp5qlpglzdw0bi9s3c")))) - (build-system emacs-build-system) - (arguments - `(#:tests? #t - #:test-command '("make" "unit" "integration") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-tests - (lambda _ - ;; Do not use cask to run tests. - (substitute* "Makefile" - (("\\$\\{CASK\\} exec ") "")) - ;; Disable tests that need network access. - (substitute* (list "tests/unit/test-webpaste-provider-creation.el" - "tests/integration/test-webpaste-providers.el") - (("describe") "xdescribe"))))))) - (native-inputs - (list emacs-buttercup)) - (propagated-inputs - (list emacs-request)) - (home-page "https://github.com/etu/webpaste.el") - (synopsis "Paste to pastebin-like services") - (description "This mode pastes whole buffers or parts of buffers + (let ((commit "8ac7b2d409f158bcaa853aa1c5763e8acf2857bb") + (revision "1")) + (package + (name "emacs-webpaste") + (version (git-version "3.2.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/etu/webpaste.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wl2q4q7c2a1m60q4dnajsyzkc9yprkyzx4hxzmxkwry22k906x3")))) + (build-system emacs-build-system) + (arguments + `(#:tests? #t + #:test-command '("make" "unit" "integration") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + ;; Do not use cask to run tests. + (substitute* "Makefile" + (("\\$\\{CASK\\} exec ") "")) + ;; Disable tests that need network access. + (substitute* (list "tests/unit/test-webpaste-provider-creation.el" + "tests/integration/test-webpaste-providers.el") + (("describe") "xdescribe"))))))) + (native-inputs + (list emacs-buttercup)) + (propagated-inputs + (list emacs-request)) + (home-page "https://github.com/etu/webpaste.el") + (synopsis "Paste to pastebin-like services") + (description "This mode pastes whole buffers or parts of buffers to pastebin-like services. It supports more than one service and will failover if one service fails. More services can easily be added over time and preferred services can easily be configured.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public emacs-keystore-mode (let ((release "0.0.1") |