summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 17:23:56 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:45:59 +0300
commitaeaa6012609741f4957a033df0b7d3dbfd14980b (patch)
tree4714b8cc8d533c8fd3d90428951bbf7a213c302b /gnu
parent6f5cd37a60b0082c703c3a675abd0d1ef46118e7 (diff)
gnu: Add rust-vcpkg.
* gnu/packages/crates-io.scm (rust-vcpkg): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e4da943c80..ae89552b2c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2835,6 +2835,32 @@ whitespace from a string.")
untrusted inputs in Rust.")
(license license:isc)))
+(define-public rust-vcpkg
+ (package
+ (name "rust-vcpkg")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "vcpkg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15dzk1b96q946v9aisbd1bbhi33n93wvgziwh1shmscn1xflbp9k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-lazy-static" ,rust-lazy-static)
+ ("rust-tempdir" ,rust-tempdir))
+ #:tests? #f)) ; tests try to link libmysql, graphite2, harfbuzz
+ (home-page "https://github.com/mcgoo/vcpkg-rs")
+ (synopsis "Find native dependencies in a vcpkg tree at build time")
+ (description
+ "This package provides a library to find native dependencies in a
+@code{vcpkg} tree at build time in order to be used in Cargo build scripts.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-version-check
(package
(name "rust-version-check")