gnu: Add rust-typenum.

* gnu/packages/crates-io.scm (rust-typenum): New variable.
This commit is contained in:
Efraim Flashner 2019-08-04 14:07:45 +03:00
parent eca548232c
commit 92a292f14f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 22 additions and 0 deletions

View File

@ -759,6 +759,28 @@ and Jaro-Winkler.")
"This package provides helper test traits for synstructure doctests.") "This package provides helper test traits for synstructure doctests.")
(license license:expat))) (license license:expat)))
(define-public rust-typenum
(package
(name "rust-typenum")
(version "1.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "typenum" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0sc1jirllfhdi52z1xv9yqzxzpk6v7vadd13n7wvs1wnjipn6bb1"))))
(build-system cargo-build-system)
(home-page "https://github.com/paholg/typenum")
(synopsis "Rust library for type-level numbers evaluated at compile time")
(description "Typenum is a Rust library for type-level numbers evaluated at
compile time. It currently supports bits, unsigned integers, and signed
integers. It also provides a type-level array of type-level numbers, but its
implementation is incomplete.")
(license (list license:asl2.0
license:expat))))
(define-public rust-unicode-xid (define-public rust-unicode-xid
(package (package
(name "rust-unicode-xid") (name "rust-unicode-xid")