aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 12:28:05 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:22 +0300
commitea6415b7878219bc111aef859a559fa6ab99686e (patch)
treed694ac4ee0c4cc73dd8487baad255f9e7abae538 /gnu
parente8b3d8b0ea97d4587d5334ba3fce14516b14f7e0 (diff)
downloadguix-ea6415b7878219bc111aef859a559fa6ab99686e.tar.gz
guix-ea6415b7878219bc111aef859a559fa6ab99686e.zip
gnu: Add rust-typemap.
* gnu/packages/crates-io.scm (rust-typemap): New variable.
Diffstat (limited to 'gnu')
-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 57f1ddf74e..f7335e85f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1760,6 +1760,28 @@ fixed set of worker threads.")
(description "Exposes Typeable, for getting TypeIds at runtime.")
(license license:expat)))
+(define-public rust-typemap
+ (package
+ (name "rust-typemap")
+ (version "0.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "typemap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xm1gbvz9qisj1l6d36hrl9pw8imr8ngs6qyanjnsad3h0yfcfv5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-unsafe-any" ,rust-unsafe-any))))
+ (home-page "https://github.com/reem/rust-typemap")
+ (synopsis "Typesafe store for many value types")
+ (description
+ "A typesafe store for many value types.")
+ (license license:expat)))
+
(define-public rust-typenum
(package
(name "rust-typenum")