diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 12:28:05 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-29 15:05:22 +0300 |
commit | ea6415b7878219bc111aef859a559fa6ab99686e (patch) | |
tree | d694ac4ee0c4cc73dd8487baad255f9e7abae538 /gnu/packages | |
parent | e8b3d8b0ea97d4587d5334ba3fce14516b14f7e0 (diff) |
gnu: Add rust-typemap.
* gnu/packages/crates-io.scm (rust-typemap): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
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") |