guix-commits
[Top][All Lists]
Advanced

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

39/189: gnu: Add rust-core-foundation-sys-0.7.


From: guix-commits
Subject: 39/189: gnu: Add rust-core-foundation-sys-0.7.
Date: Mon, 21 Sep 2020 06:01:03 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 89ad4fd71c763aab630dcc0af6b29e32a2b92f24
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 e7e032e..7b595c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4145,26 +4145,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-graphics-0.17
   (package



reply via email to

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