From a8cdfd53db4ef839cba28e0cb283d2c3dfdb1f1a Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 3 Apr 2020 14:53:05 -0400 Subject: [PATCH] gnu: Add ruby-sexp-processor. * gnu/packages/ruby.scm (ruby-sexp-processor): New variable. --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 08c55e4e3c..1b017a1ea7 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2019 Collin J. Doering ;;; Copyright © 2019 Diego N. Barbato ;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2020 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -4304,6 +4305,29 @@ across multiple CPU cores.") (home-page "https://github.com/whitequark/parser") (license license:expat))) +(define-public ruby-sexp-processor + (package + (name "ruby-sexp-processor") + (version "4.15.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sexp_processor" version)) + (sha256 + (base32 + "0d1vks77xnd0m3s94a58f9bkdwlaml5qdkmprx279m2s0pc2gv55")))) + (build-system ruby-build-system) + (native-inputs + ;; TODO: Add ruby-minitest-proveit once available. + `(("hoe" ,ruby-hoe))) + (synopsis "ParseTree fork which includes generic S-exp processing tools") + (description "The sexp_processor package is derived from ParseTree, but +contrary to ParseTree, it includes all the generic S-exp processing tools. +Amongst the included tools are @code{Sexp}, @code{SexpProcessor} and +@code{Environment}") + (home-page "https://github.com/seattlerb/sexp_processor") + (license license:expat))) + (define-public ruby-prawn-manual-builder (package (name "ruby-prawn-manual-builder")