mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: Add rust-os-str-bytes-4.
* gnu/packages/crates-io.scm (rust-os-str-bytes-4): New variable. (rust-os-str-bytes-2): Inherit from rust-os-str-bytes-4.
This commit is contained in:
parent
44ceb9ee13
commit
23f56d4b49
1 changed files with 29 additions and 10 deletions
|
@ -39754,8 +39754,36 @@ under its new name.")
|
||||||
("rust-nix" ,rust-nix-0.8)
|
("rust-nix" ,rust-nix-0.8)
|
||||||
("rust-winapi" ,rust-winapi-0.2))))))
|
("rust-winapi" ,rust-winapi-0.2))))))
|
||||||
|
|
||||||
|
(define-public rust-os-str-bytes-4
|
||||||
|
(package
|
||||||
|
(name "rust-os-str-bytes")
|
||||||
|
(version "4.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "os-str-bytes" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "16d70qzd2g18i28i6znjcpck0r9hjd5gz5qcr1cl2l9s6d1sknmd"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs
|
||||||
|
(("rust-memchr" ,rust-memchr-2)
|
||||||
|
("rust-print-bytes" ,rust-print-bytes-0.4)
|
||||||
|
("rust-uniquote" ,rust-uniquote-3))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-getrandom" ,rust-getrandom-0.2))))
|
||||||
|
(home-page "https://github.com/dylni/os_str_bytes")
|
||||||
|
(synopsis
|
||||||
|
"Traits for converting between byte sequences and platform-native strings")
|
||||||
|
(description
|
||||||
|
"This package provides a traits for converting between byte sequences and
|
||||||
|
platform-native strings.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-os-str-bytes-2
|
(define-public rust-os-str-bytes-2
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-os-str-bytes-4)
|
||||||
(name "rust-os-str-bytes")
|
(name "rust-os-str-bytes")
|
||||||
(version "2.4.0")
|
(version "2.4.0")
|
||||||
(source
|
(source
|
||||||
|
@ -39767,16 +39795,7 @@ under its new name.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg"))))
|
"11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg"))))
|
||||||
(build-system cargo-build-system)
|
(arguments `(#:skip-build? #t))))
|
||||||
(arguments `(#:skip-build? #t))
|
|
||||||
(home-page
|
|
||||||
"https://github.com/dylni/os_str_bytes")
|
|
||||||
(synopsis
|
|
||||||
"Traits for converting between byte sequences and platform-native strings")
|
|
||||||
(description
|
|
||||||
"This package provides a traits for converting between byte sequences and
|
|
||||||
platform-native strings.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-ouroboros-macro-0.14
|
(define-public rust-ouroboros-macro-0.14
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Reference in a new issue