summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Arazas <foo.dogsquared@gmail.com>2020-09-20 00:14:49 +0800
committerEfraim Flashner <efraim@flashner.co.il>2020-09-23 09:02:58 +0300
commit5c2db516f97660c9f8c1a639493997b2b4a2bbab (patch)
tree584ae0e5b2aad7f4a63d993d4ca92597f76c5470
parent421b94ecc46329094a49974882975e63fe075cbd (diff)
downloadguix-5c2db516f97660c9f8c1a639493997b2b4a2bbab.tar.gz
gnu: Add rust-std-prelude-0.2.
* gnu/packages/crates-io.scm (rust-std-prelude-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 96b47394a6..c26ac4cae5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24941,6 +24941,28 @@ are met.")
 in @code{stb_truetype.h} from C to Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-std-prelude-0.2
+  (package
+    (name "rust-std-prelude")
+    (version "0.2.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "std_prelude" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ghcwnhnqn3rphyhlknmxpj5clzqva46z1vh25k5bpzzan2ff1w2"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/vitiral/std_prelude")
+    (synopsis
+     "Prelude that the rust stdlib should have always had")
+    (description
+     "A package that simply uses all of the items often included in a Rust
+codebase.")
+    (license license:expat)))
+
 (define-public rust-stdweb-0.4
   (package
     (name "rust-stdweb")