guix-commits
[Top][All Lists]
Advanced

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

08/20: gnu: Add ruby-blankslate.


From: Ricardo Wurmus
Subject: 08/20: gnu: Add ruby-blankslate.
Date: Fri, 20 Nov 2015 14:23:14 +0000

rekado pushed a commit to branch master
in repository guix.

commit 21f7b7bd802fd997e71f41183a6b1125b29f8887
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Nov 20 12:12:25 2015 +0100

    gnu: Add ruby-blankslate.
    
    * gnu/packages/ruby.scm (ruby-blankslate): New variable.
---
 gnu/packages/ruby.scm |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 9d7c464..5b893c5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1121,6 +1121,34 @@ objects.")
     (home-page "http://github.com/floehopper/metaclass";)
     (license license:expat)))
 
+(define-public ruby-blankslate
+  (package
+    (name "ruby-blankslate")
+    (version "3.1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "blankslate" version))
+              (sha256
+               (base32
+                "0fwkb4d1j9gc7vdwn2nxvwgy2g5wlag4c4bp7bl85jvq0kgp6cyx"))))
+    (build-system ruby-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+          (lambda _ (zero? (system* "rspec" "spec/")))))))
+    (native-inputs
+     `(("bundler" ,bundler)
+       ("ruby-rspec" ,ruby-rspec)))
+    (synopsis "Abstract base class with no predefined methods")
+    (description
+     "BlankSlate provides an abstract base class with no predefined
+methods (except for @code{__send__} and @code{__id__}).  BlankSlate is useful
+as a base class when writing classes that depend upon
address@hidden (e.g. dynamic proxies).")
+    (home-page "http://github.com/masover/blankslate";)
+    (license license:expat)))
+
 (define-public ruby-minitest
   (package
     (name "ruby-minitest")



reply via email to

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