diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-17 11:50:25 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:49 +0530 |
commit | e49928258bd3dfa24b7382361e056a039b01f647 (patch) | |
tree | b50def1e9fae83c662f286b74f3655cad175ab0f | |
parent | da6390144a3eb2bc1143f946df1bcf32e9dfe761 (diff) | |
download | guix-e49928258bd3dfa24b7382361e056a039b01f647.tar.gz |
gnu: Add rust-ron-0.5.
* gnu/packages/crates-io.scm (rust-ron-0.5): New variable. (rust-ron-0.4): Inherit from rust-ron-0.5.
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dd934c2b24..e116322bd8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20027,8 +20027,33 @@ your own implementation.") Rust Language Server.") (license (list license:expat license:asl2.0)))) +(define-public rust-ron-0.5 + (package + (name "rust-ron") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ron" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 (base32 "1mb2bavvp8jg5wx0kx9n45anrsbjwhjzddim987bjaa11hg45kif")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-bytes" ,rust-serde-bytes-0.10) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/ron-rs/ron") + (synopsis "Rusty Object Notation") + (description "This package provides Rusty Object Notation (RON).") + (license (list license:expat license:asl2.0)))) + (define-public rust-ron-0.4 (package + (inherit rust-ron-0.5) (name "rust-ron") (version "0.4.2") (source @@ -20040,7 +20065,6 @@ Rust Language Server.") (sha256 (base32 "13ypx80ac1minrmn9w9sgnbxlknwiv7qhx5n50azh0s484j2mx8p")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -20049,12 +20073,7 @@ Rust Language Server.") ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (;("rust-serde-bytes" ,rust-serde-bytes-0.10) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/ron-rs/ron") - (synopsis "Rusty Object Notation") - (description "Rusty Object Notation.") - (license (list license:asl2.0 - license:expat)))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-rspec-1 (package |