guix-commits
[Top][All Lists]
Advanced

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

03/10: gnu: Add ruby-mkmf-lite.


From: guix-commits
Subject: 03/10: gnu: Add ruby-mkmf-lite.
Date: Wed, 27 May 2020 15:52:56 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit fae1c86605046b3fbc93384170438382248faab3
Author: Marius Bakke <marius@devup.no>
AuthorDate: Wed May 27 15:07:31 2020 +0200

    gnu: Add ruby-mkmf-lite.
    
    * gnu/packages/ruby.scm (ruby-mkmf-lite): New public variable.
---
 gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index cb9495a..2ab6dc2 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2839,6 +2839,28 @@ objects.")
     (home-page "https://github.com/floehopper/metaclass";)
     (license license:expat)))
 
+(define-public ruby-mkmf-lite
+  (package
+    (name "ruby-mkmf-lite")
+    (version "0.3.2")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "mkmf-lite" version))
+              (sha256
+               (base32
+                "0br9k6zijj1zc25n8p7f2j1mwl58nfgdknf3q13h9k156jvrir06"))))
+    (build-system ruby-build-system)
+    (propagated-inputs
+     `(("ruby-ptools" ,ruby-ptools)))
+    (synopsis "Lightweight alternative to @code{mkmf}")
+    (description
+     "@code{mkmf-lite} is a light version of Ruby's @code{mkmf.rb} designed
+for use as a library.  It does not create packages, builds, or log files of
+any kind.  Instead, it provides mixin methods that you can use in FFI or tests
+to check for the presence of header files, constants, and so on.")
+    (home-page "https://github.com/djberg96/mkmf-lite";)
+    (license license:asl2.0)))
+
 (define-public ruby-mspec
   (package
     (name "ruby-mspec")



reply via email to

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