* gnu/packages/rust.scm (rust-pkg-config): New variable. --- gnu/packages/rust.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 7c44dd28b..0dca6a02f 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -774,3 +774,24 @@ and configuration of sockets.") CA certificates should likely be found. This will only search known system locations.") (license (list license:expat license:asl2.0)))) + +(define-public rust-pkg-config + (package + (name "rust-pkg-config") + (version "0.3.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "pkg-config" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ypj4nj2z9z27qg06v3g40jyhw685i3l2wi098d21bvyri781vlc")))) + (build-system cargo-build-system) + (home-page "https://github.com/alexcrichton/pkg-config-rs") + (synopsis "Library to provide pkg-config to be used by Cargo") + (description + "This package provides a library to run the pkg-config system tool +at build time in order to be used in Cargo build scripts.") + (license (list license:expat license:asl2.0)))) -- 2.11.0