diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-13 23:09:01 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:12 +0200 |
commit | 9b114884c84a4e502949fac6609b56b5f826f859 (patch) | |
tree | fbced32397c6e04ada1df210b8d307c00b52ab6f /gnu | |
parent | 472685a7e981b5d051368cab068ba9bb72fcb569 (diff) |
gnu: Add rust-either-1.5.
* gnu/packages/crates-io.scm (rust-either-1.5): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 32afcca89b..a7c8a90651 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -888,6 +888,31 @@ floating-point primitives to an @code{io::Write}.") (base32 "0g96cap6si1g6wi62hsdk2fnj3sf5vd4i97zj6163j8hhnsl3n0d")))))) +(define-public rust-either-1.5 + (package + (name "rust-either") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "either" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yyggfd5yq9hyyp0bd5jj0fgz3rwws42d19ri0znxwwqs3hcy9sm")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-serde" ,rust-serde-1.0)))) + (home-page "https://github.com/bluss/either") + (synopsis + "Enum @code{Either} with variants @code{Left} and @code{Right}") + (description + "The enum @code{Either} with variants @code{Left} and +@code{Right} is a general purpose sum type with two cases.") + (license (list license:expat license:asl2.0)))) + (define-public rust-env-logger-0.6 (package (name "rust-env-logger") |