From 11e4c1fd104884999a84633baea1d2e298d2e334 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Fri, 29 Apr 2016 17:53:50 -0500 Subject: gnu: Add geiser-next. Also, I previously committed to this repository in 2015; add self to copyright headers for that year too. * gnu/packages/emacs.scm (geiser-next): New variable. --- gnu/packages/emacs.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 11010b2a47..f0c1555f7d 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2015, 2016 Ricardo Wurmus ;;; Copyright © 2016 Nils Gillmann ;;; Copyright © 2016 Chris Marusich +;;; Copyright © 2015, 2016 Christopher Allan Webber ;;; ;;; This file is part of GNU Guix. ;;; @@ -260,6 +261,36 @@ implementation, Emacs and, ultimately, the schemer, giving them access to live metadata.") (license license:bsd-3))) +(define-public geiser-next + ;; Geiser's upcoming version supports guile-next, and 0.8.1 does not. + ;; When the next Geiser release comes out, we can remove this. + (let ((commit "2e335695fc1a4a0b520b50deb761b958194cbec4")) + (package + (inherit geiser) + (name "geiser-next") + (version (string-append "0.8.1-1" + (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://git.sv.gnu.org/geiser.git") + (commit commit))) + (sha256 + (base32 + "00rmpn8zncq1fiah5m12l26z0s28bh7ql63kxdvksqdgfrisnmgf")))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("texinfo" ,texinfo) + ,@(package-native-inputs geiser))) + (arguments + (substitute-keyword-arguments (package-arguments geiser) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'autogen + (lambda _ + (zero? (system* "sh" "autogen.sh"))))))))))) + (define-public paredit (package (name "paredit") -- cgit v1.2.3 From 4f04243405706a52b73c1acca883abfc030ce4d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 16 May 2016 22:45:37 +0200 Subject: gnu: 'uncompressed-file-fetch' no longer depends on gzip. * gnu/packages/emacs.scm (uncompressed-file-fetch): Remove dependency on GZIP. --- gnu/packages/emacs.scm | 2 -- 1 file changed, 2 deletions(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index f0c1555f7d..860ef11d29 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1403,8 +1403,6 @@ identifiers in the MIT-Scheme documentation.") (gexp->derivation (or name (basename url)) #~(begin (mkdir #$output) - (setenv "PATH" - (string-append #$gzip "/bin")) (chdir #$output) (copy-file #$drv (basename #$url)))))) -- cgit v1.2.3 From a9e41d2faf979e1b39e2d587b940a89e071804c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 16 May 2016 22:48:16 +0200 Subject: gnu: emacs-constants: Factorize home-page in source URL. * gnu/packages/emacs.scm (emacs-constants): Move 'home-page' above. Use it in 'uri'. --- gnu/packages/emacs.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 860ef11d29..5fbbc033b7 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1410,17 +1410,17 @@ identifiers in the MIT-Scheme documentation.") (package (name "emacs-constants") (version "2.2") + (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants") (source (origin (file-name (string-append name "-" version ".el")) (method uncompressed-file-fetch) - (uri "https://staff.fnwi.uva.nl/c.dominik/Tools/constants/constants.el") + (uri (string-append home-page "/constants.el")) ;FIXME: unversioned URI (patches (search-patches "emacs-constants-lisp-like.patch")) (sha256 (base32 "14q094aphsjhq8gklv7i5a7byl0ygz63cv3n6b5p8ji2jy0mnnw3")))) (build-system emacs-build-system) - (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants") (synopsis "Enter definition of constants into an Emacs buffer") (description "This package provides functions for inserting the definition of natural -- cgit v1.2.3 From f99f3f24ef604f44023379da4b375c80e6844be1 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Tue, 17 May 2016 13:51:34 +0200 Subject: gnu: emacs-constants: Update to 2.6. * gnu/packages/emacs.scm (emacs-constants): Change to versioned repository and update to 2.6. --- gnu/packages/emacs.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 5fbbc033b7..8ba645e57a 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1409,17 +1409,17 @@ identifiers in the MIT-Scheme documentation.") (define-public emacs-constants (package (name "emacs-constants") - (version "2.2") + (version "2.6") (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants") (source (origin (file-name (string-append name "-" version ".el")) - (method uncompressed-file-fetch) - (uri (string-append home-page "/constants.el")) ;FIXME: unversioned URI - (patches (search-patches "emacs-constants-lisp-like.patch")) + (method url-fetch) + (uri (string-append "https://github.com/fedeinthemix/emacs-constants" + "/archive/v" version ".tar.gz")) (sha256 (base32 - "14q094aphsjhq8gklv7i5a7byl0ygz63cv3n6b5p8ji2jy0mnnw3")))) + "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n")))) (build-system emacs-build-system) (synopsis "Enter definition of constants into an Emacs buffer") (description -- cgit v1.2.3 From 9576cc72dc4f2973551c72951e64e5bf6240ff6b Mon Sep 17 00:00:00 2001 From: humanitiesNerd Date: Tue, 17 May 2016 10:54:13 +0200 Subject: gnu: Add emacs-zenburn-theme. * gnu/packages/emacs.scm (emacs-zenburn-theme): New variable. Signed-off-by: Alex Kost --- gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 8ba645e57a..32ed72218b 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2016 Nils Gillmann ;;; Copyright © 2016 Chris Marusich ;;; Copyright © 2015, 2016 Christopher Allan Webber +;;; Copyright © 2016 humanitiesNerd ;;; ;;; This file is part of GNU Guix. ;;; @@ -1588,3 +1589,26 @@ to recognize a name like \"RFC 1234\". This package enhances ffap so that it correctly finds RFCs even when a space appears before the number.") (license license:gpl3+))) + +(define-public emacs-zenburn-theme + (package + (name "emacs-zenburn-theme") + (version "2.4") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/bbatsov/zenburn-emacs/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lyi84bm8sa7vj40n6zg6rlbsmi53mi1y9xn6gkjj29s5zbcnlg7")))) + (build-system emacs-build-system) + (home-page "http://github.com/bbatsov/zenburn-emacs") + (synopsis "Low contrast color theme for Emacs") + (description + "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs. +It is built on top of the custom theme support in Emacs 24 or later.") + (license license:gpl3+))) + + -- cgit v1.2.3 From 5c447e280e1a4aa6ce7c4611c8393708e08197fa Mon Sep 17 00:00:00 2001 From: humanitiesNerd Date: Tue, 17 May 2016 23:07:06 +0200 Subject: gnu: Add emacs-smartparens. * gnu/packages/emacs.scm (emacs-smartparens): New variable. Signed-off-by: Alex Kost --- gnu/packages/emacs.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 32ed72218b..18898e9c29 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1611,4 +1611,31 @@ number.") It is built on top of the custom theme support in Emacs 24 or later.") (license license:gpl3+))) - +(define-public emacs-smartparens + (package + (name "emacs-smartparens") + (version "1.7.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/Fuco1/smartparens/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1b47ppkzsj8j8a2p0bmvq05rhm2d2lsm3wlc0sg542r4zr6nji8s")))) + (build-system emacs-build-system) + (propagated-inputs `(("emacs-dash" ,emacs-dash))) + (home-page "https://github.com/Fuco1/smartparens") + (synopsis "Paredit-like insertion, wrapping and navigation with user +defined pairs") + (description + "Smartparens is a minor mode for Emacs that deals with parens pairs +and tries to be smart about it. It started as a unification effort to +combine functionality of several existing packages in a single, +compatible and extensible way to deal with parentheses, delimiters, tags +and the like. Some of these packages include autopair, textmate, +wrap-region, electric-pair-mode, paredit and others. With the basic +features found in other packages it also brings many improvements as +well as completely new features.") + (license license:gpl3+))) -- cgit v1.2.3