guix-commits
[Top][All Lists]
Advanced

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

06/54: gnu: Add rust-core-graphics-0.19.


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

ngz pushed a commit to branch master
in repository guix.

commit dc7912ce77023624db8a7e523e9438e9c3d4f21a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jan 29 23:11:20 2021 +0100

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

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 5f1607a..e9e8eff 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -376,6 +376,26 @@ for computer graphics.")
      "This package provides bindings to Core Graphics for macOS.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-core-graphics-0.19
+  (package
+    (inherit rust-core-graphics-0.21)
+    (name "rust-core-graphics")
+    (version "0.19.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "core-graphics" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08z9pgwfc0wb5v3ns7rnb2010q9g42b5vfwhp9fv4spawrs9725k"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-core-foundation" ,rust-core-foundation-0.7)
+        ("rust-foreign-types" ,rust-foreign-types-0.3)
+        ("rust-libc" ,rust-libc-0.2))))))
+
 (define-public rust-core-graphics-0.17
   (package
     (inherit rust-core-graphics-0.21)



reply via email to

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