1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

gnu: Add rust-odds-0.4.

* gnu/packages/crates-io.scm (rust-odds-0.4): New variable.
(rust-odds-0.3): Inherit from rust-odds-0.4.

Change-Id: Ib9e500d5a4328cfbd82e3218803943cdbafeb870
This commit is contained in:
Efraim Flashner 2025-01-06 09:10:38 +02:00
parent f65867896e
commit 719a60515e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -48539,20 +48539,46 @@ local files.")
(description "This package provides ODBC FFI bindings.") (description "This package provides ODBC FFI bindings.")
(license license:expat))) (license license:expat)))
(define-public rust-odds-0.4
(package
(name "rust-odds")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "odds" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "17jd5fjcrlya7dbnnj0v8s83l3jhlajyljmkcy49pxsvxj9zdsdz"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.2)
("rust-rawslice" ,rust-rawslice-0.1)
("rust-unchecked-index" ,rust-unchecked-index-0.2))
#:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.8)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-memchr" ,rust-memchr-2)
("rust-quickcheck" ,rust-quickcheck-0.9))))
(home-page "https://github.com/bluss/odds")
(synopsis "Extra functionality for slices, strings and other things")
(description
"Odds and ends collection miscellania. Extra functionality for
slices (@code{.find()}, @code{RevSlice}), strings and other things.
Things in odds may move to more appropriate crates if we find them.")
(license (list license:expat license:asl2.0))))
(define-public rust-odds-0.3 (define-public rust-odds-0.3
(package (package
(inherit rust-odds-0.4)
(name "rust-odds") (name "rust-odds")
(version "0.3.1") (version "0.3.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "odds" version)) (uri (crate-uri "odds" version))
(file-name (file-name (string-append name "-" version ".tar.gz"))
(string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32 "0rdnxa0na4897yb0svb3figz35g4imxjv61yfm2j21gbh5q8v8d9"))))
"0rdnxa0na4897yb0svb3figz35g4imxjv61yfm2j21gbh5q8v8d9"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-rawpointer" ,rust-rawpointer-0.1) (("rust-rawpointer" ,rust-rawpointer-0.1)
@ -48562,14 +48588,7 @@ local files.")
(("rust-itertools" ,rust-itertools-0.7) (("rust-itertools" ,rust-itertools-0.7)
("rust-lazy-static" ,rust-lazy-static-0.2) ("rust-lazy-static" ,rust-lazy-static-0.2)
("rust-memchr" ,rust-memchr-2) ("rust-memchr" ,rust-memchr-2)
("rust-quickcheck" ,rust-quickcheck-0.4)))) ("rust-quickcheck" ,rust-quickcheck-0.4))))))
(home-page "https://github.com/bluss/odds")
(synopsis "Extra functionality for slices, strings and other things")
(description
"Odds and ends collection miscellania. Extra functionality for
slices (@code{.find()}, @code{RevSlice}), strings and other things.
Things in odds may move to more appropriate crates if we find them.")
(license (list license:asl2.0 license:expat))))
(define-public rust-odds-0.2 (define-public rust-odds-0.2
(package (package