aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-26 16:43:56 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-27 20:59:43 +0200
commit67aee1c04623082da914e42f05e8799eebc71d59 (patch)
tree6716a3cc7c161e2d62431183c90305a163beea76 /gnu
parent4b6f844ec25477ccbfcdb774767bccfdc1531f9b (diff)
downloadpatches-67aee1c04623082da914e42f05e8799eebc71d59.tar
patches-67aee1c04623082da914e42f05e8799eebc71d59.tar.gz
gnu: Add rust-core-graphics-0.17.
* gnu/packages/crates-io.scm (rust-core-graphics-0.17): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ba5058c35..e09e6932c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2675,6 +2675,33 @@ intrinsics.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-core-graphics-0.17
+ (package
+ (name "rust-core-graphics")
+ (version "0.17.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core-graphics" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1acm3vygngnilzlr6klym5ywh7kfzh2xxrh2l41152hwmdl0jyan"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; only for macOS
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.6)
+ ("rust-foreign-types" ,rust-foreign-types-0.3)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/servo/core-graphics-rs")
+ (synopsis "Bindings to Core Graphics for macOS")
+ (description
+ "Bindings to Core Graphics for macOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-crates-index-0.13
(package
(name "rust-crates-index")