aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 01:19:25 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-24 11:05:52 +0200
commit23b1519e902792ee1e2162ca99cbd914846ffb2b (patch)
tree2031169b8f0733519ba537b93f33c34f14325703 /gnu/packages/crates-io.scm
parent0389f288d6d8902dc67f89802676c462b4608055 (diff)
downloadguix-23b1519e902792ee1e2162ca99cbd914846ffb2b.tar
guix-23b1519e902792ee1e2162ca99cbd914846ffb2b.tar.gz
gnu: Add rust-cgl-0.2.
* gnu/packages/crates-io.scm (rust-cgl-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 332ce2ee05..751e94916f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1769,6 +1769,26 @@ depending on a large number of #[cfg] parameters. Structured like an
(description "Rust bindings for CGL on Mac.")
(license (list license:expat license:asl2.0))))
+(define-public rust-cgl-0.2
+ (package
+ (inherit rust-cgl-0.3)
+ (name "rust-cgl")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cgl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0j8ayr8pbwvyv6l8r7m5z197rs3pqn97085w9j4rfn7yfh5yrrsm"))))
+ (arguments
+ `(#:skip-build? #t ; only available on macOS
+ #:cargo-inputs
+ (("rust-gleam" ,rust-gleam-0.6)
+ ("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-ci-info-0.3
(package
(name "rust-ci-info")