aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorBen J Woodcroft <donttrustben@gmail.com>2016-08-01 11:52:52 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-08-01 21:30:49 +1000
commit2de61e340c286b036d4cb8dea91c0f8709aac0bf (patch)
treeca79a408497151bb1de62ff73dbf6dc729967a90 /gnu/packages/ruby.scm
parent683a4a34cd4a565cbdb0b46a326e30795657814c (diff)
downloadpatches-2de61e340c286b036d4cb8dea91c0f8709aac0bf.tar
patches-2de61e340c286b036d4cb8dea91c0f8709aac0bf.tar.gz
gnu: Add ruby-pkg-config.
* gnu/packages/ruby.scm (ruby-pkg-config): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 028b82daaf..bc7afa626c 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+)))