gnu: Add rust-ansi-parser-0.8.

* gnu/packages/crates-io.scm (rust-ansi-parser-0.8): New variable.
(rust-ansi-parser-0.6): Inherit from rust-ansi-parser-0.8.

Change-Id: Ia101b2b0040c1f68364752d2287488a612a04bd7
This commit is contained in:
Efraim Flashner 2023-10-28 09:41:49 +03:00
parent 060b37b8b9
commit 21a8b4401e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3494,29 +3494,43 @@ (define-public rust-anes-0.1
;; The user can choose either license.
(license (list license:expat license:asl2.0))))
(define-public rust-ansi-parser-0.8
(package
(name "rust-ansi-parser")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ansi-parser" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "09vi51kdnbwj6c4vdiiydpqxiiwyppn7kbynf22ij9xzg4h3kcmw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-heapless" ,rust-heapless-0.5)
("rust-nom" ,rust-nom-4))))
(home-page "https://gitlab.com/DavidBittner/ansi-parser")
(synopsis "Library using nom for parsing ANSI Escape Codes")
(description
"This package provides a library using nom for parsing ANSI Escape Codes.")
(license license:mpl2.0)))
(define-public rust-ansi-parser-0.6
(package
(inherit rust-ansi-parser-0.8)
(name "rust-ansi-parser")
(version "0.6.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "ansi-parser" version))
(file-name
(string-append name "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "152idb8a6gwdxzj6m099h3xgx8vw0sjc6skgw94nm2k3y5swc6kn"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-heapless" ,rust-heapless-0.5)
("rust-nom" ,rust-nom-4))))
(home-page "https://gitlab.com/DavidBittner/ansi-parser")
(synopsis "Library using nom for parsing ANSI escape codes")
(description
"This package provides a library using nom for parsing ANSI
escape codes.")
(license license:mpl2.0)))
("rust-nom" ,rust-nom-4))))))
(define-public rust-anstream-0.6
(package