guix-commits
[Top][All Lists]
Advanced

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

39/188: gnu: Add rust-core-foundation-0.7.


From: guix-commits
Subject: 39/188: gnu: Add rust-core-foundation-0.7.
Date: Mon, 12 Oct 2020 02:24:44 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit bcdfbbc868c216284d476b194ee42ea84cc2a74f
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 11:07:56 2020 +0530

    gnu: Add rust-core-foundation-0.7.
    
    * gnu/packages/crates-io.scm (rust-core-foundation-0.7): New variable.
    (rust-core-foundation-0.6): Inherit from rust-core-foundation-0.7.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++----------
 1 file changed, 23 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fcaa1c5..c11c78b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3849,10 +3849,10 @@ numbers using the CORDIC method.")
 intrinsics.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-core-foundation-0.6
+(define-public rust-core-foundation-0.7
   (package
     (name "rust-core-foundation")
-    (version "0.6.4")
+    (version "0.7.1")
     (source
      (origin
        (method url-fetch)
@@ -3861,22 +3861,35 @@ intrinsics.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95"))))
+         "024qmb4c33ppy0fhj022x291nrlzl5n2gqs46n0cyxms85xl8qxl"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t     ; only for macOS
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-chrono" ,rust-chrono-0.4)
-        ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)
+        ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.7)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-uuid" ,rust-uuid-0.5))))
     (home-page "https://github.com/servo/core-foundation-rs";)
-    (synopsis
-     "Bindings to Core Foundation for macOS")
-    (description
-     "Bindings to Core Foundation for macOS.")
+    (synopsis "Bindings to Core Foundation for macOS")
+    (description "This package provides bindings to Core Foundation for
+macOS.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-core-foundation-0.6
+  (package
+    (inherit rust-core-foundation-0.7)
+    (name "rust-core-foundation")
+    (version "0.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "core-foundation" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0va97wf49c8dzm9c8pgyk1jn7z21rl0bj1syf2zz5m2z2hzy1f95"))))))
+
 (define-public rust-core-foundation-sys-0.7
   (package
     (name "rust-core-foundation-sys")



reply via email to

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