From 0169c1e475cb56221dd1acf9d1a97d5fdbb2c89a Mon Sep 17 00:00:00 2001 From: Javier Olaechea Date: Mon, 9 Sep 2024 12:14:57 -0500 Subject: [PATCH] gnu: Add emacs-chruby-el. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs-xyz.scm (emacs-chruby-el): New variable. Change-Id: Ief7622e585326671b123df770eeb3264cf201c3a Signed-off-by: Ludovic Courtès --- gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9a363b0183..ae09973428 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7557,6 +7557,26 @@ (define-public emacs-inf-ruby appropriate console.") (license license:gpl3+))) +(define-public emacs-chruby-el + (let ((version "1.0") + (commit "42bc6d521f832eca8e2ba210f30d03ad5529788f") + (revision "0")) + (package + (name "emacs-chruby-el") + (version (git-version version revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/plexus/chruby.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 (base32 "06pvjw40qk017py9km26vjrh90acycnkr5r04nxf664qqkjlg2mc")))) + (build-system emacs-build-system) + (home-page "https://github.com/plexus/chruby.el") + (synopsis "Emacs support for the Chruby version switcher for Ruby") + (description "This packages lets you switch Ruby versions using chruby.") + (license license:gpl3+)))) + ;; Package has no release. Version is extracted from "Version:" keyword in ;; main file. (define-public emacs-zeno-theme