aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/emacs-xyz.scm56
1 files changed, 56 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4c08254092..1454a78d97 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13554,3 +13554,59 @@ real search.")
"This package displays keyboard macros or latest interactive commands
as Emacs Lisp.")
(license license:gpl3+))))
+
+(define-public emacs-transient
+ ;; 0.1.0 depends on lv.el but not later versions.
+ (let ((commit "7e45a57ec81185631fe763733f64c99021df2a06"))
+ (package
+ (name "emacs-transient")
+ (version (git-version "0.1.0" "1" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/magit/transient")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0r6d4c1lga3bk0s7q7y4v4hbpxnd9h40cjxybqvax2z902931fz1"))))
+ (build-system gnu-build-system)
+ (native-inputs `(("texinfo" ,texinfo)
+ ("emacs" ,emacs-minimal)))
+ (propagated-inputs
+ `(("dash" ,emacs-dash)))
+ (arguments
+ `(#:modules ((guix build gnu-build-system)
+ (guix build utils)
+ (srfi srfi-26)
+ (guix build emacs-utils))
+ #:imported-modules (,@%gnu-build-system-modules
+ (guix build emacs-utils))
+ #:tests? #f ; tests are not included in the release
+ #:make-flags (list "lisp" "info"
+ (string-append "LOAD_PATH=-L . -L "
+ (assoc-ref %build-inputs "dash")
+ "/share/emacs/site-lisp/guix.d/dash-"
+ ,(package-version emacs-dash)))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (replace 'install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (lisp (string-append out "/share/emacs/site-lisp/guix.d/"
+ "transient" "-" ,version))
+ (info (string-append out "/share/info")))
+ (for-each (cut install-file <> lisp)
+ (find-files "." "\\.elc*$"))
+ (install-file "docs/transient.info" (string-append info)))
+ #t)))))
+ (home-page "https://magit.vc/manual/transient")
+ (synopsis "Transient commands in Emacs")
+ (description
+ "Taking inspiration from prefix keys and prefix arguments in Emacs,
+Transient implements a similar abstraction involving a prefix command, infix
+arguments and suffix commands. We could call this abstraction a \"transient
+command\", but because it always involves at least two commands (a prefix and
+a suffix) we prefer to call it just a \"transient\".")
+ (license license:gpl3+))))
.sh?id=e30c2be10da8929e42aafc7770257e84de49ffbb'>packages: Remove support for PACKAGE-VERSION deprecated syntax.Ludovic Courtès This syntax had been deprecated since 2016-02-28. * gnu/packages.scm (%find-package): Remove #:fallback? parameter and handling. * tests/guix-build.sh: Remove test for "time-1.7" syntax. * doc/guix.texi (Invoking guix lint): Update 'guix lint' output in example. 2017-04-21store: 'GUIX_DAEMON_SOCKET' can now be a URI.Ludovic Courtès * guix/store.scm (%daemon-socket-file): Rename to... (%daemon-socket-uri): ... this. (connect-to-daemon): New procedure. (open-connection): Rename 'file' to 'uri'. Use 'connect-to-daemon' instead of 'open-unix-domain-socket'. * guix/tests.scm (open-connection-for-tests): Rename 'file' to 'uri'. * tests/guix-build.sh: Add tests. * tests/store.scm ("open-connection with file:// URI"): New tests. 2017-03-19gnu: Rename "guile-next" to "guile".Ludovic Courtès * gnu/packages/guile.scm (guile-next): Rename to... (guile-2.2): ... this. Update users. [name]: Change to "guile". [synopsis]: Remove. [properties]: Remove 'upstream-name', 'ftp-server', and 'ftp-directory'. * gnu/packages/bioinformatics.scm (rcas-web): Update accordingly. * gnu/packages/tls.scm (gnutls/guile-2.2): Likewise. * tests/guix-build.sh: Use 'guile@2.2' instead of 'guile-next'. * doc/guix.texi (Package Transformation Options): Update examples that referred to "guile-next".