[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: Add ruby-pkg-config.
From: |
Ben Woodcroft |
Subject: |
01/03: gnu: Add ruby-pkg-config. |
Date: |
Mon, 1 Aug 2016 11:31:42 +0000 (UTC) |
benwoodcroft pushed a commit to branch master
in repository guix.
commit 2de61e340c286b036d4cb8dea91c0f8709aac0bf
Author: Ben J Woodcroft <address@hidden>
Date: Mon Aug 1 11:52:52 2016 +1000
gnu: Add ruby-pkg-config.
* gnu/packages/ruby.scm (ruby-pkg-config): New variable.
---
gnu/packages/ruby.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 028b82d..bc7afa6 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4116,3 +4116,25 @@ inspired by Erlang, Clojure, Go, JavaScript, actors and
classic concurrency
patterns.")
(home-page "http://www.concurrent-ruby.com")
(license license:expat)))
+
+(define-public ruby-pkg-config
+ (package
+ (name "ruby-pkg-config")
+ (version "1.1.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "pkg-config" version))
+ (sha256
+ (base32
+ "0lljiqnm0b4z6iy87lzapwrdfa6ps63x2z5zbs038iig8dqx2g0z"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; Tests require extra files not included in the gem.
+ `(#:tests? #f))
+ (synopsis "Detect libraries for compiling Ruby native extensions")
+ (description
+ "@code{pkg-config} can be used in your extconf.rb to properly detect need
+libraries for compiling Ruby native extensions.")
+ (home-page "https://github.com/ruby-gnome2/pkg-config")
+ (license license:lgpl2.0+)))