guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] gnu: Add ruby-docile.


From: Pjotr Prins
Subject: [PATCH 1/2] gnu: Add ruby-docile.
Date: Wed, 16 Sep 2015 06:06:40 +0200
User-agent: Heirloom mailx 12.5 6/20/10

* gnu/packages/ruby.scm (ruby-docile): New variable.
---
 gnu/packages/ruby.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7dc46b6..539b00b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1125,6 +1125,28 @@ into a single method call.")
     (home-page "http://rack.github.io/";)
     (license license:expat)))
 
+(define-public ruby-docile
+  (package
+    (name "ruby-docile")
+    (version "1.1.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (rubygems-uri "docile" version))
+        (sha256
+          (base32
+            "0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(#:tests? #f)) ; needs github-markup, among others
+    (synopsis "Docile turns any Ruby object into a DSL")
+    (description "Turn any Ruby object into a DSL.  Especially useful
+with the Builder pattern.  Docile is a small, self-contained Ruby
+library, that let's you map a DSL (domain specific language) to your
+Ruby objects in a snap.")
+    (home-page "https://ms-ati.github.io/docile/";)
+    (license license:expat)))
+
 (define-public ruby-gherkin3
   (package
     (name "ruby-gherkin3")
@@ -1147,3 +1169,4 @@ It is intended to replace Gherkin 2 and be used by all 
Cucumber
 implementations to parse '.feature' files.")
     (home-page "https://github.com/cucumber/gherkin3";)
     (license license:expat)))
+
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]