summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-29 23:47:33 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-31 09:50:34 +0100
commit0b00d063ca21b057f48aee18c6694aa2552ec094 (patch)
treef053f3ffb27b6d06ed374a0d5fe7dd7d972b5131
parent2c13905d268866990164f6fd4522fdd8be1ada75 (diff)
downloadguix-0b00d063ca21b057f48aee18c6694aa2552ec094.tar.gz
gnu: Add rust-core-graphics-types-0.1.
* gnu/packages/crates-graphics.scm (rust-core-graphics-types-0.1): New variable.
-rw-r--r--gnu/packages/crates-graphics.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index ca268b9460..39e1ce78de 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -418,6 +418,32 @@ for computer graphics.")
         ("rust-foreign-types" ,rust-foreign-types-0.3)
         ("rust-libc" ,rust-libc-0.2))))))
 
+(define-public rust-core-graphics-types-0.1
+  (package
+    (name "rust-core-graphics-types")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "core-graphics-types" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12vqf0n5mjjcqjksdd82n2zh8hfda2zpiiqsr522c2266j5vcs1s"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-core-foundation" ,rust-core-foundation-0.9)
+        ("rust-foreign-types" ,rust-foreign-types-0.3)
+        ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/servo/core-foundation-rs")
+    (synopsis "Bindings for some fundamental Core Graphics types")
+    (description
+     "This package provides bindings for some fundamental Core Graphics
+types.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-core-video-sys-0.1
   (package
     (name "rust-core-video-sys")