From: Josh Holland <josh@inv.alid.pw>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 35653@debbugs.gnu.org, Josh Holland <josh@inv.alid.pw>
Subject: [bug#35653] [PATCH v2] gnu: Add rcm.
Date: Thu, 9 May 2019 18:59:16 +0100 [thread overview]
Message-ID: <20190509175916.22479-2-josh@inv.alid.pw> (raw)
In-Reply-To: <20190509175916.22479-1-josh@inv.alid.pw>
* gnu/packages/rcm.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add rcm.scm.
---
gnu/local.mk | 1 +
gnu/packages/rcm.scm | 62 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
create mode 100644 gnu/packages/rcm.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index 3f97397c4a..0789d74f78 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -398,6 +398,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/ragel.scm \
%D%/packages/rails.scm \
%D%/packages/ratpoison.scm \
+ %D%/packages/rcm.scm \
%D%/packages/rdesktop.scm \
%D%/packages/rdf.scm \
%D%/packages/re2c.scm \
diff --git a/gnu/packages/rcm.scm b/gnu/packages/rcm.scm
new file mode 100644
index 0000000000..c61626d114
--- /dev/null
+++ b/gnu/packages/rcm.scm
@@ -0,0 +1,62 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Josh Holland <josh@inv.alid.pw>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages rcm)
+ #:use-module (guix packages)
+ #:use-module (guix download)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix licenses)
+ #:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages perl))
+
+(define-public rcm
+ (package
+ (name "rcm")
+ (version "1.3.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://thoughtbot.github.io/rcm/dist/rcm-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1bqk7rrp1ckzvsvl9wghsr77m8xl3a7yc5gqdsisz492dx2j8mck"))))
+ (build-system gnu-build-system)
+ (arguments '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-source-shebangs 'patch-tests
+ (lambda _
+ (substitute* '("test/rcrc-tilde.t"
+ "test/rcdn-hooks-run-in-order.t"
+ "test/rcup-hooks-run-in-order.t")
+ (("/bin/sh") (which "sh")))
+ (substitute* "test/rcup-hooks.t"
+ (("/usr/bin/env") (which "env")))
+ #t)))
+ #:parallel-tests? #f))
+ (native-inputs `(("perl" ,perl)
+ ("python-cram" ,python-cram)))
+ (synopsis "Management suite for dotfiles")
+ (description "The rcm suite of tools is for managing dotfiles directories. This is
+a directory containing all the @code{.*rc} files in your home directory
+(@code{.zshrc}, @code{.vimrc}, and so on). These files have gone by many
+names in history, such as “rc files” because they typically end in rc
+or “dotfiles” because they begin with a period. This suite is useful
+for committing your rc files to a central repository to share, but it also
+scales to a more complex situation such as multiple source directories
+shared between computers with some host-specific or task-specific files.")
+ (license bsd-3)
+ (home-page "https://github.com/thoughtbot/rcm")))
--
2.21.0
next prev parent reply other threads:[~2019-05-09 18:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-09 15:38 [bug#35653] [PATCH] gnu: Add rcm Josh Holland
2019-05-09 16:52 ` Danny Milosavljevic
2019-05-09 17:59 ` Josh Holland
2019-05-09 17:59 ` Josh Holland [this message]
2019-12-10 6:55 ` [bug#35653] [PATCH v2] " Brett Gilio
2020-01-15 21:42 ` bug#35653: " Ludovic Courtès
2020-01-02 15:11 ` [bug#35653] " Jakub Kądziołka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190509175916.22479-2-josh@inv.alid.pw \
--to=josh@inv.alid.pw \
--cc=35653@debbugs.gnu.org \
--cc=dannym@scratchpost.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.