From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44959) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieZRE-0001IA-QC for guix-patches@gnu.org; Tue, 10 Dec 2019 01:56:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieZRC-0003XG-E8 for guix-patches@gnu.org; Tue, 10 Dec 2019 01:56:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48875) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieZRB-0003Wc-UR for guix-patches@gnu.org; Tue, 10 Dec 2019 01:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieZRB-0004O9-TJ for guix-patches@gnu.org; Tue, 10 Dec 2019 01:56:01 -0500 Subject: [bug#35653] [PATCH v2] gnu: Add rcm. Resent-Message-ID: From: Brett Gilio References: <20190509185256.309d9b63@scratchpost.org> <20190509175916.22479-1-josh@inv.alid.pw> <20190509175916.22479-2-josh@inv.alid.pw> Date: Tue, 10 Dec 2019 00:55:28 -0600 In-Reply-To: <20190509175916.22479-2-josh@inv.alid.pw> (Josh Holland's message of "Thu, 9 May 2019 18:59:16 +0100") Message-ID: <87immok6u7.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Josh Holland Cc: Danny Milosavljevic , 35653@debbugs.gnu.org Josh Holland writes: > * 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 =3D \ > %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 =C2=A9 2019 Josh Holland > +;;; > +;;; 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 . > + > +(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 "1bqk7rrp1ckzvsvl9wghsr77m8xl3a7yc5gqdsisz492dx2j= 8mck")))) > + (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 direct= ories. 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 =E2=80=9Crc files=E2=80=9D because they typica= lly end in rc > +or =E2=80=9Cdotfiles=E2=80=9D because they begin with a period. This su= ite is useful > +for committing your rc files to a central repository to share, but it al= so > +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"))) This all LGTM! Is there any objections to pushing this? I will if it looks good to everbody else! --=20 Brett M. Gilio Homepage -- https://scm.pw/ GNU Guix -- https://guix.gnu.org/