diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:56:39 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:10 +0300 |
commit | 18ff5a5a02ec0ad418f19196523b938044a194e7 (patch) | |
tree | a4cb00cd70d18ca6ef494d28bb83358c5da89834 | |
parent | 313818ca40b5b239616df00f39ad9db97026bfd9 (diff) | |
download | guix-18ff5a5a02ec0ad418f19196523b938044a194e7.tar.gz |
gnu: Add rust-line-col-0.2.
* gnu/packages/crates-io.scm (rust-line-col-0.2): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 171769f567..8663bb47fa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33867,6 +33867,25 @@ high-performance zlib library.") (description "This package provides an object pool manager in Rust.") (license license:expat))) +(define-public rust-line-col-0.2 + (package + (name "rust-line-col") + (version "0.2.1") + (source (origin + (method url-fetch) + (uri (crate-uri "line-col" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1nvqjxn2kkxkph3qdlkc5xq1m2ygla4l0saga778sp2vp3vcsscy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) + (home-page "https://github.com/TheBerkin/line-col-rs") + (synopsis "Convert string slice indices into line/column numbers") + (description "Convert string slice indices into line/column numbers") + (license license:expat))) + (define-public rust-line-wrap-0.1 (package (name "rust-line-wrap") |