diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-04 14:07:45 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-12 11:57:31 +0300 |
commit | 92a292f14f23d236b909c8ec9c997928072a4b8a (patch) | |
tree | b57c941782a7d3da54a3ae445fbb84ca72f32449 | |
parent | eca548232c503288fa0389f0381ee507c7a9b1f8 (diff) | |
download | guix-92a292f14f23d236b909c8ec9c997928072a4b8a.tar.gz |
gnu: Add rust-typenum.
* gnu/packages/crates-io.scm (rust-typenum): New variable.
-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 5c8bcf8465..9f1d4fc23e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -759,6 +759,28 @@ and Jaro-Winkler.") "This package provides helper test traits for synstructure doctests.") (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 (package (name "rust-unicode-xid") |