summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-03 10:23:52 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:09 +0300
commit1fbf13d1e3d88477a5226d438b9a969b930b0664 (patch)
treec9c573981a825d84a5d4fa64998978793f961b33
parentff6c43e7e40934888e8324e9764aae12bc4abba7 (diff)
downloadguix-1fbf13d1e3d88477a5226d438b9a969b930b0664.tar.gz
gnu: Add rust-core-extensions-0.1.
* gnu/packages/crates-io.scm (rust-core-extensions-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 41f9db8408..9930ead5a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15156,6 +15156,27 @@ numbers using the CORDIC method.")
      "Extensions for core/std library types, and other miscelaneous features.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-core-extensions-0.1
+  (package
+    (inherit rust-core-extensions-1)
+    (name "rust-core-extensions")
+    (version "0.1.20")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "core-extensions" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nhgd5rlgp679qm4g3x806ywwhm6qr1y2j3y90wzjgyqllf7w49s"))))
+    (arguments
+     `(#:skip-build? #t ; failed to resolve: could not find `export` in `_serde`
+       #:cargo-inputs
+       (("rust-rustc-version" ,rust-rustc-version-0.2)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-typenum" ,rust-typenum-1))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.4))))))
+
 (define-public rust-core-extensions-proc-macros-1
   (package
     (name "rust-core-extensions-proc-macros")