diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-19 22:05:32 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-23 22:23:12 +0200 |
commit | d39efce8bca5e796e53c8a07e33588f61f899cf2 (patch) | |
tree | 15226725fb998ecf546b842abba261bae8165994 /gnu | |
parent | d4cbecc02f4cae34fd3a2604c0fafbe29bd977d9 (diff) |
gnu: Add rust-num-derive-0.2.
* gnu/packages/crates-io.scm (rust-num-derive-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d697ffc6b5..730f5659b2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8775,6 +8775,33 @@ including bigint, complex, rational, range iterators, generic integers, and more #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))))) +(define-public rust-num-derive-0.2 + (package + (name "rust-num-derive") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "num-derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wnv7776fh4i40r3zfxcxcmm0dh029skx7gp4sjknz2kqm2hpzga")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-0.6) + ("rust-syn" ,rust-syn-0.15)) + #:cargo-development-inputs + (("rust-num" ,rust-num-0.2) + ("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/rust-num/num-derive") + (synopsis "Numeric syntax extensions") + (description "Numeric syntax extensions in Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-num-integer-0.1 (package (name "rust-num-integer") |