From 2de61e340c286b036d4cb8dea91c0f8709aac0bf Mon Sep 17 00:00:00 2001 From: Ben J Woodcroft Date: Mon, 1 Aug 2016 11:52:52 +1000 Subject: 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 028b82daaf..bc7afa626c 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -4116,3 +4116,25 @@ (define-public ruby-concurrent 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+))) -- cgit v1.2.3