Message ID | a619ff225c3961a553788c669ea181f61dd343bc.1710055564.git.mail@muradm.net |
---|---|
State | New |
Headers | show |
Series | Add difft program. | expand |
close 69695 muradm <mail@muradm.net> writes: > * gnu/packages/crates-io.scm (rust-line-numbers-0.3): New > variable. > > Change-Id: I2dfe3e6e9805169511c945cb3e4aacc7c02b9a62 > --- > gnu/packages/crates-io.scm | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/gnu/packages/crates-io.scm > b/gnu/packages/crates-io.scm > index 1a08748392..1e828257b6 100644 > --- a/gnu/packages/crates-io.scm > +++ b/gnu/packages/crates-io.scm > @@ -34800,6 +34800,25 @@ (define-public rust-line-col-0.2 > (description "Convert string slice indices into line/column > numbers") > (license license:expat))) > > +(define-public rust-line-numbers-0.3 > + (package > + (name "rust-line-numbers") > + (version "0.3.0") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "line-numbers" version)) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > "0p531c7w7viilf7q1k277zmy8ihl8064vx0r7jm5z02ki03ga9bv")))) > + (build-system cargo-build-system) > + (arguments > + `(#:skip-build? #t)) > + (home-page "https://github.com/wilfred/line-numbers") > + (synopsis "Find line numbers in strings by byte offsets, > quickly") > + (description "Find line numbers in strings by byte offsets, > quickly") > + (license license:expat))) > + > (define-public rust-line-wrap-0.1 > (package > (name "rust-line-wrap")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1a08748392..1e828257b6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -34800,6 +34800,25 @@ (define-public rust-line-col-0.2 (description "Convert string slice indices into line/column numbers") (license license:expat))) +(define-public rust-line-numbers-0.3 + (package + (name "rust-line-numbers") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "line-numbers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p531c7w7viilf7q1k277zmy8ihl8064vx0r7jm5z02ki03ga9bv")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t)) + (home-page "https://github.com/wilfred/line-numbers") + (synopsis "Find line numbers in strings by byte offsets, quickly") + (description "Find line numbers in strings by byte offsets, quickly") + (license license:expat))) + (define-public rust-line-wrap-0.1 (package (name "rust-line-wrap")