From ac6eb0df22385cb0189ccbd0e525c567c0673bac Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Fri, 9 Aug 2019 22:00:23 +1000 Subject: Add emacs packages --- emacs.scm | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 327 insertions(+) create mode 100644 emacs.scm diff --git a/emacs.scm b/emacs.scm new file mode 100644 index 0000000..70e182d --- /dev/null +++ b/emacs.scm @@ -0,0 +1,327 @@ +(define-module (emacs) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system emacs) + #:use-module (gnu packages emacs-xyz)) + +(define-public emacs-srv + (let ((commit "714387d5a5cf34d8d8cd96bdb1f9cb8ded823ff7") + (revision "1")) + (package + (name "emacs-srv") + (version (string-append "0.0-" revision)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/legoscia/srv.el.git") + (commit commit))) + (sha256 + (base32 + "1a8pqhdi7m3lis5ad2f74s1sy8zpxlwvfsvd80lw746235x2v06z")))) + (build-system emacs-build-system) + (home-page "https://github.com/legoscia/srv.el") + (synopsis "perform SRV DNS requests") + (description + "This code implements RFC 2782 (SRV records). It was originally +written for jabber.el , but is now a +separate package. + +It is used to look up hostname and port for a service at a specific +domain. There might be multiple results, and the caller is supposed +to attempt to connect to each hostname+port in turn. For example, +to find the XMPP client service for the domain gmail.com: + +\(srv-lookup \"_xmpp-client._tcp.gmail.com\") +-> ((\"xmpp.l.google.com\" . 5222) + (\"alt3.xmpp.l.google.com\" . 5222) + (\"alt4.xmpp.l.google.com\" . 5222) + (\"alt1.xmpp.l.google.com\" . 5222) + (\"alt2.xmpp.l.google.com\" . 5222)) +") + (license #f)))) + +(define-public emacs-fsm + (package + (name "emacs-fsm") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://elpa.gnu.org/packages/fsm-" + version + ".el")) + (sha256 + (base32 + "1jyxyqdbfl8nv7c50q0sg3w5p7whp1sqgi7w921k5hfar4d11qqp")))) + (build-system emacs-build-system) + (home-page + "http://elpa.gnu.org/packages/fsm.html") + (synopsis "state machine library") + (description "") + (license license:gpl3+))) + +(define-public emacs-hexrgb + (package + (name "emacs-hexrgb") + (version "0") + (source + (origin + (method url-fetch) + (uri "https://www.emacswiki.org/emacs/download/hexrgb.el") + (sha256 + (base32 + "18hb8brf7x92aidjfgczxangri6rkqq4x5d06lh41193f97rslm8")))) + (build-system emacs-build-system) + (home-page #f) + (synopsis #f) + (description #f) + (license license:gpl2+))) + +(define-public emacs-jabber + (let ((commit "fff33826f42e040dad7ef64ea312d85215d3b0a1") + (revision "1")) + (package + (name "emacs-jabber") + (version (string-append "0.0-" revision)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/legoscia/emacs-jabber.git") + (commit commit))) + (sha256 + (base32 + "1fif38qhiaxskfmqin82n9334bzrkgd1h5ip1djcm571i670gj74")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-fsm" ,emacs-fsm) + ("emacs-srv" ,emacs-srv) + ("emacs-hexrgb" ,emacs-hexrgb))) + (home-page "unspecified") + (synopsis "A Jabber client for Emacs.") + (description "No description available.") + (license #f)))) + +(define-public emacs-ibuffer-vc + (package + (name "emacs-ibuffer-vc") + (version "20181225.2227") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/purcell/ibuffer-vc.git") + (commit "64cb03887bcae6127e80f0d9342c33206e21d2d2"))) + (sha256 + (base32 + "1ayqa7l5ny7g01pb3917w2phnsdfw69scw3lk6bpa773pq00n2vi")))) + (build-system emacs-build-system) + (home-page + "http://github.com/purcell/ibuffer-vc") + (synopsis + "Group ibuffer's list by VC project, or show VC status") + (description + "Adds functionality to ibuffer for grouping buffers by their parent +vc root directory, and for displaying and/or sorting by the vc +status of listed files. +") + (license #f))) + +(define-public emacs-powershell + (let ((commit "c9a20e5a8b02dc5d7ccd2b1974eba28a9348ad5e") + (revision "1")) + (package + (name "emacs-powershell") + (version (string-append "0.0-" revision)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jschaf/powershell.el.git") + (commit commit))) + (sha256 + (base32 + "1y8bph4133n4pcvsplni0ahg14ny27vl03jxf5lhhqkh06miqqsg")))) + (build-system emacs-build-system) + (home-page + "http://github.com/jschaf/powershell.el") + (synopsis "Mode for editing Powershell scripts") + (description #f) + (license #f)))) + +(define-public emacs-ssass-mode + (package + (name "emacs-ssass-mode") + (version "0.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AdamNiederer/ssass-mode.git") + (commit "d17d2de381ffc96e62e77435fb7b387bf59aceec"))) + (sha256 + (base32 + "1vw2mzn8yczgyspgmv4f621d7h10qxa8hfzalb14bvwqn4h37spy")))) + (build-system emacs-build-system) + (home-page + "http://github.com/AdamNiederer/ssass-mode") + (synopsis "Edit Sass without a Turing Machine") + (description + "This mode is a clone of sass-mode which works in mmm-mode and doesn't +indent things as eagerly. Syntax highlighting is provided with +`font-lock-mode'. + +Exported names start with \"ssass-\"; private names start with +\"ssass--\". +") + (license license:gpl3+))) + +(define-public emacs-vue-html-mode + (package + (name "emacs-vue-html-mode") + (version "20170225.2301") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AdamNiederer/vue-html-mode.git") + (commit "1e0aa0befd2fa958b70bdc88d9bab1a4eccf94fd"))) + (sha256 + (base32 + "0axzdq5kss3ng9a17xr5i96x1rr4p61sil5lx783xq4zrbamh7fw")))) + (build-system emacs-build-system) + (home-page + "http://github.com/AdamNiederer/vue-html-mode") + (synopsis + "Major mode for editing Vue.js templates") + (description "No description available.") + (license license:gpl3+))) + +(define-public emacs-vue-mode + (package + (name "emacs-vue-mode") + (version "20170712.930") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AdamNiederer/vue-mode.git") + (commit "a680998d5e597e91be2e7e15e88bd83856a13c84"))) + (sha256 + (base32 + "1hmqwv4xdjmly1l4s1hkx1n28navnqy5nplas39pwywik2dlh2cs")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-mmm-mode" ,emacs-mmm-mode) + ("emacs-vue-html-mode" ,emacs-vue-html-mode) + ("emacs-ssass-mode" ,emacs-ssass-mode))) + (home-page "unspecified") + (synopsis + "Major mode for vue component based on web-mode and mmm-mode") + (description "") + (license license:gpl3+))) + +(define-public emacs-mocha + (package + (name "emacs-mocha") + (version "1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/scottaj/mocha.el/archive/v" version ".tar.gz")) + (sha256 + (base32 + "03c42p5rbrffzadd100pjilxjcfj7bdxn5flcswdhaymrf9lxirz")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-js2-mode" ,emacs-js2-mode) + ("emacs-f" ,emacs-f))) + (home-page "http://github.com/scottaj/mocha.el") + (synopsis "Run Mocha or Jasmine tests") + (description + "This mode provides the ability to run Mocha or Jasmine tests from within Emacs +") + (license license:gpl3+))) + +(define-public emacs-elm-mode + (package + (name "emacs-elm-mode") + (version "0.20.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/jcollard/elm-mode/archive/v" + version ".tar.gz")) + (sha256 + (base32 + "0kkb53p2sa3nxhfsmk3r8qkvqsdhhg8raqfa14wf07037g4x01n0")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-f" ,emacs-f) + ("emacs-s" ,emacs-s))) + (home-page + "https://github.com/jcollard/elm-mode") + (synopsis "Major mode for Elm") + (description "") + (license license:gpl3+))) + +(define-public emacs-evil-goggles + (let ((revision "1") + (commit "90da624f368f4730a7ce8b3993f0d31baaea471d")) + (package + (name "emacs-evil-goggles") + (version (string-append "0.0.0-" revision)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/edkolev/evil-goggles.git") + (commit commit))) + (sha256 + (base32 + "1j9jfial5cs555y7kcm6452xrwpqgxpidc289l7hdin4v9s9gqhm")))) + (build-system emacs-build-system) + (propagated-inputs `(("emacs-evil" ,emacs-evil))) + (home-page + "http://github.com/edkolev/evil-goggles") + (synopsis "Add a visual hint to evil operations") + (description + "Add a visual hint to evil edit operations such as yank, delete, +paste, etc. + +Usage: + + (evil-goggles-mode) +") + (license license:gpl3+)))) + +(define-public emacs-elixir-mode + (package + (name "emacs-elixir-mode") + (version "20190103.1736") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elixir-lang/emacs-elixir") + (commit "ad06579d6445c5954e8506eb1b314c7ed4a42f4b"))) + (sha256 + (base32 + "04gajw0m728ppmjq0ydinqimqxgx9m3awnwhz983cm53lcqv02pw")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-pkg-info" ,emacs-pkg-info))) + (home-page + "https://github.com/elixir-lang/emacs-elixir") + (synopsis "Major mode for editing Elixir files") + (description + " Provides font-locking, indentation and navigation support + for the Elixir programming language. +") + (license #f))) -- cgit v1.2.3