summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-16 11:04:34 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:41:42 +0530
commit7ac6d407f14f17b7fef5a50c86f61cba5f515716 (patch)
treeffc9b8667356c782e3f533d31eb99a1a0b0d7ec9 /gnu
parent99874bf6347bb0f41b82d90df83a364b6b8e2db8 (diff)
downloadguix-7ac6d407f14f17b7fef5a50c86f61cba5f515716.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm43
1 files changed, 28 insertions, 15 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5fa05d1ed9..fcaa1c5410 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