diff options
author | Evgenii Lepikhin <e.lepikhin@corp.mail.ru> | 2022-05-30 11:01:57 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-05-30 11:13:52 +0300 |
commit | 4f5a71d5b7c13fed7487130a861927c697dd8de6 (patch) | |
tree | e9735800ca2ce5e6ef5d04f6edda9bc11beb7261 /gnu | |
parent | 4b18cb437ae06162868e6de25567b58929f82d18 (diff) | |
download | guix-4f5a71d5b7c13fed7487130a861927c697dd8de6.tar.gz |
gnu: Add rust-minimal-lexical-0.2.
* gnu/packages/crates-io.scm (rust-minimal-lexical-0.2): New variable. (rust-minimal-lexical-0.1): Inherit from rust-minimal-lexical-0.2. 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, 20 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9db1348b8d..5098e1d735 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34708,23 +34708,38 @@ file's MIME type by its extension.") ;; No copyright headers in the source code. LICENSE indicates gpl3. (license license:gpl3))) -(define-public rust-minimal-lexical-0.1 +(define-public rust-minimal-lexical-0.2 (package (name "rust-minimal-lexical") - (version "0.1.4") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "minimal-lexical" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xynhr97vyv5n5lls41dl7bfa3ba122lix9mqij1l7yprl6n6r4w")))) + (base32 "16ppc5g84aijpri4jzv14rvcnslvlpphbszc7zzp6vfkddf4qdb8")))) (build-system cargo-build-system) (home-page "https://github.com/Alexhuszagh/minimal-lexical") - (synopsis "Fast float parsing conversion routines") - (description "Fast float parsing conversion routines.") + (synopsis "Float parsing conversion routines") + (description "This is a minimal version of rust-lexical, meant to allow +efficient round-trip float parsing. Minimal-lexical implements a correct, fast +float parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-minimal-lexical-0.1 + (package + (inherit rust-minimal-lexical-0.2) + (name "rust-minimal-lexical") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "minimal-lexical" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xynhr97vyv5n5lls41dl7bfa3ba122lix9mqij1l7yprl6n6r4w")))))) + (define-public rust-miniz-oxide-0.4 (package (name "rust-miniz-oxide") |