guix-commits
[Top][All Lists]
Advanced

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

38/188: gnu: Add rust-core-foundation-sys-0.7.


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

arunisaac pushed a commit to branch master
in repository guix.

commit 7ac6d407f14f17b7fef5a50c86f61cba5f515716
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 11:04:34 2020 +0530

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5fa05d1..fcaa1c5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3877,26 +3877,39 @@ intrinsics.")
      "Bindings to Core Foundation for macOS.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-core-foundation-sys-0.6
+(define-public rust-core-foundation-sys-0.7
   (package
     (name "rust-core-foundation-sys")
-    (version "0.6.2")
+    (version "0.7.2")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "core-foundation-sys" version))
-        (file-name (string-append name "-" version ".crate"))
-        (sha256
-         (base32
-          "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "core-foundation-sys" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ghrg46h4ci306agr2vwm28w6gb5l455nzp61y2zkhwfs49p4nis"))))
     (build-system cargo-build-system)
-    (arguments '(#:skip-build? #t))
     (home-page "https://github.com/servo/core-foundation-rs";)
-    (synopsis "Bindings to Core Foundation for OS X")
-    (description
-     "Bindings to Core Foundation for OS X.")
-    (license (list license:asl2.0
-                   license:expat))))
+    (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-sys-0.6
+  (package
+    (inherit rust-core-foundation-sys-0.7)
+    (name "rust-core-foundation-sys")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "core-foundation-sys" version))
+       (file-name (string-append name "-" version ".crate"))
+       (sha256
+        (base32
+         "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7"))))))
 
 (define-public rust-core-text-13
   (package



reply via email to

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