gnu: Add rust-typemap.

* gnu/packages/crates-io.scm (rust-typemap): New variable.
This commit is contained in:
Efraim Flashner 2019-08-29 12:28:05 +03:00
parent e8b3d8b0ea
commit ea6415b787
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1760,6 +1760,28 @@ (define-public rust-typeable
(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")