gnu: Add rust-generator-0.8.

* gnu/packages/crates-io.scm (rust-generator-0.8): New variable.
(rust-generator-0.7): Inherit from rust-generator-0.8.

Change-Id: I48165303eabe3583a00f4e9c9fbcc122368899e8
This commit is contained in:
Efraim Flashner 2024-12-25 11:15:19 +02:00
parent 34d88f0270
commit 7bcff8c38a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -31766,8 +31766,33 @@ (define-public rust-generational-arena-0.2
suffering from the ABA problem by using generational indices.")
(license license:mpl2.0)))
(define-public rust-generator-0.8
(package
(name "rust-generator")
(version "0.8.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "generator" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1p9qqk9nzarjdcl5fr4iylvsv446g0svlpk63lxis4ysrqad2syc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-rustversion" ,rust-rustversion-1)
("rust-windows" ,rust-windows-0.58))))
(home-page "https://github.com/Xudong-Huang/generator-rs.git")
(synopsis "Stackful Generator Library in Rust")
(description "This package provides a sackful generator library in
Rust.")
(license (list license:expat license:asl2.0))))
(define-public rust-generator-0.7
(package
(inherit rust-generator-0.8)
(name "rust-generator")
(version "0.7.5")
(source (origin
@ -31777,19 +31802,13 @@ (define-public rust-generator-0.7
(sha256
(base32
"0knp7cllkf90l4wmfbhmb3c0ha9xn9afrzmphain1d12zy26bhaw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cc" ,rust-cc-1)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-rustversion" ,rust-rustversion-1)
("rust-windows" ,rust-windows-0.48))))
(home-page "https://github.com/Xudong-Huang/generator-rs.git")
(synopsis "Stackfull Generator Library in Rust")
(description "This package provides a stackfull generator library in
Rust.")
(license (list license:expat license:asl2.0))))
("rust-windows" ,rust-windows-0.48))))))
(define-public rust-generator-0.6
(package