diff options
author | Zheng junjie <873216071@qq.com> | 2021-06-11 21:11:50 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-13 19:14:11 +0200 |
commit | 96351de6b22c7fc25ea54819e075d3592c82e95a (patch) | |
tree | ae66dab3b126596ef4d974320c6128c872a56613 | |
parent | 6ec682f543ab44a7b74fa3b0736a3f01e89e1c82 (diff) | |
download | guix-96351de6b22c7fc25ea54819e075d3592c82e95a.tar guix-96351de6b22c7fc25ea54819e075d3592c82e95a.tar.gz |
gnu: Add rust-text-size-1.
* gnu/packages/crates-io.scm (rust-text-size-1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1052a4389a..1dfa02d679 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -45355,6 +45355,34 @@ for TLS).") unstable language features.") (license (list license:expat license:asl2.0)))) +(define-public rust-text-size-1 + (package + (name "rust-text-size") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "text-size" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02jn26l5wcdjqpy80ycnk9ha10flyc0p4yga8ci6aaz7vd4bb318")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-test" ,rust-serde-test-1) + ("rust-static-assertions" + ,rust-static-assertions-1)))) + (home-page + "https://github.com/rust-analyzer/text-size") + (synopsis "Newtypes for text offsets") + (description "This package provides a newtypes for text offsets") + (license (list license:expat license:asl2.0)))) + (define-public rust-textwrap-0.12 (package (name "rust-textwrap") |