guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/54: gnu: Add rust-core-graphics-types-0.1.


From: guix-commits
Subject: 14/54: gnu: Add rust-core-graphics-types-0.1.
Date: Sun, 31 Jan 2021 03:52:16 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 0b00d063ca21b057f48aee18c6694aa2552ec094
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jan 29 23:47:33 2021 +0100

    gnu: Add rust-core-graphics-types-0.1.
    
    * gnu/packages/crates-graphics.scm (rust-core-graphics-types-0.1): New 
variable.
---
 gnu/packages/crates-graphics.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index ca268b9..39e1ce7 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]